Created
October 8, 2010 00:33
-
-
Save mostlyobvious/616167 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /wiki { | |
uwsgi_pass 10.0.0.3:8000; | |
include uwsgi_params; | |
if ($uri ~ ^/wiki(.*)?) { | |
set $path_info $1; | |
} | |
uwsgi_param PATH_INFO $path_info | |
uwsgi_param SCRIPT_NAME /wiki; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment