ala888 Posted August 13, 2014 Share Posted August 13, 2014 (edited) server{listen 80;server_name www.example.com;root /var/www/html;#whats the point of thislocation / {...}} Doesnt root already take care of the filing system? Why is this necessary? Or is root just a reserved variable for use with php's superglobal $_SERVER p.s. is fastcgi_index directive really necessary when location ~.php$ already filters out non php stuff? Edited August 13, 2014 by ala888 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now