Created
November 29, 2012 14:37
-
-
Save kejyun/4169487 to your computer and use it in GitHub Desktop.
nginx default config
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; | |
index index.php index.html index.htm; | |
location ~ \.php { | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
include /etc/nginx/fastcgi_params; | |
keepalive_timeout 0; | |
fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment