Created
September 3, 2010 18:43
-
-
Save shadowhand/564341 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 / { | |
index index.php index.html index.htm; | |
try_files $uri $uri/ @vanilla; | |
} | |
location @vanilla { | |
rewrite ^(.*) /index.php?p=$1 last; | |
} | |
location /index.php { | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment