diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-11-03 10:59:47 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-11-03 10:59:47 -0500 |
commit | 02e99c78cdb91d3dab52675d11f29bf834e4f6ca (patch) | |
tree | f03418326b8e36634ce0e5f58821fb5b6db6f3d5 /docs/source | |
parent | 996e9b4c4f6ad1ee8a03f5348a65895c88d040fe (diff) | |
download | mediagoblin-02e99c78cdb91d3dab52675d11f29bf834e4f6ca.tar.lz mediagoblin-02e99c78cdb91d3dab52675d11f29bf834e4f6ca.tar.xz mediagoblin-02e99c78cdb91d3dab52675d11f29bf834e4f6ca.zip |
A correct but compact set of instructions for fastcgi on nginx
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/deploying.rst | 6 |
1 files changed, 5 insertions, 1 deletions
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 ""; } } |