Skip to content

Instantly share code, notes, and snippets.

Last active August 17, 2017 18:00
What would you like to do?
location ~ \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# Prevent arbitrary code execution by third parties with
# try_files directive.
try_files $uri =404;
location ~ /wp-admin {
include fastcgi_params;
fastcgi_keep_conn on;
try_files $uri =404;
Copy link

pmgllc commented Apr 17, 2015

How did you come up with the actual value for 12345 in the first fastcgi_pass? I can't find anything in any tut that says anything except 9000, which you have second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment