NginX config stuff

NginX VHost With Wildcard VHosts

Having a vhost that points to, say /home/user/public_html and extending it so that the first sub directory in it will point to /home/user/public_html/{subdirectory}can be accompilshed like this:


Secure /wp-admin/ With NginX

If your nginx config has a php rule like this:

Then you need to add a rule like that before ? the rule above:

in order for the login file being processed by php and not be downloaded…