Created
September 26, 2013 22:06
-
-
Save netaustin/6721246 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/ /index.php?$args; | |
} | |
location ^~ /wp-login.php { | |
deny all; | |
} | |
location ~ \.php$ { | |
fastcgi_pass unix:/tmp/php-fpm.sock; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment