server_name rpi.narnian.us; #location / { try_files $uri @rpiWebApp; } location / { include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_NAME ""; fastcgi_pass unix:/run/matt/rpiWebApp/fcgi.sock; }