From: Christopher Allan Webber Date: Thu, 3 Nov 2011 15:59:47 +0000 (-0500) Subject: A correct but compact set of instructions for fastcgi on nginx X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=02e99c78cdb91d3dab52675d11f29bf834e4f6ca;p=mediagoblin.git A correct but compact set of instructions for fastcgi on nginx --- diff --git a/docs/source/deploying.rst b/docs/source/deploying.rst index cbdf9a4c..fbe829af 100644 --- a/docs/source/deploying.rst +++ b/docs/source/deploying.rst @@ -213,8 +213,12 @@ this ``nginx.conf`` file should be modeled on the following: :: # Mounting MediaGoblin itself via fastcgi. location / { fastcgi_pass 127.0.0.1:26543; - fastcgi_param PATH_INFO $fastcgi_script_name; include /etc/nginx/fastcgi_params; + + # our understanding vs nginx's handling of script_name vs + # path_info don't match :) + fastcgi_param PATH_INFO $fastcgi_script_name; + fastcgi_param SCRIPT_NAME ""; } }