Created
May 27, 2011 07:14
-
-
Save poppen/994787 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 ~ /wordpress/(.*\.php) { | |
fastcgi_pass php5; | |
fastcgi_param SCRIPT_FILENAME /var/www/wordpress/$1; | |
include fastcgi_params; | |
} | |
location /wordpress/ { | |
alias /var/www/wordpress/; | |
try_files $uri $uri/ /wordpress/index.php; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment