Last active
August 29, 2015 14:22
-
-
Save kamrankr/1e4781d3967c4d3b3d3d 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
server | |
{ | |
root /var/www/html; | |
location / | |
{ | |
index index.php index.html index.htm; | |
} | |
location ~ \.php$ | |
{ | |
fastcgi_pass 127.0.0.0.1:9000 | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment