Skip to content

Instantly share code, notes, and snippets.

@tomruether
Created January 17, 2016 21:01
Show Gist options
  • Select an option

  • Save tomruether/0323707138a37e69488f to your computer and use it in GitHub Desktop.

Select an option

Save tomruether/0323707138a37e69488f to your computer and use it in GitHub Desktop.
nginx default
server {
listen 80;
server_name localhost;
#access_log logs/host.access.log main;
location / {
root root_path;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment