Created
September 11, 2012 19:12
-
-
Save eftakhairul/3701091 to your computer and use it in GitHub Desktop.
Nginx Default Configuration in located /etc/nginx/conf.d/default.conf
This file contains 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
# | |
# The default server | |
# | |
server { | |
listen 80; | |
server_name _; | |
#charset koi8-r; | |
#access_log logs/host.access.log main; | |
location / { | |
root /usr/share/nginx/html; | |
index index.php index.html index.htm; | |
} | |
error_page 404 /404.html; | |
location = /404.html { | |
root /usr/share/nginx/html; | |
} | |
# redirect server error pages to the static page /50x.html | |
# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment