Created
May 5, 2011 19:54
-
-
Save codatory/957778 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
if (-f $request_filename) { | |
break; | |
} | |
try_files $uri $uri/ @wordpress; | |
index index.html, index.php; | |
} | |
location @wordpress { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root/index.php; | |
fastcgi_param SCRIPT_NAME /index.php; | |
include fastcgi_params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment