Skip to content

Instantly share code, notes, and snippets.

@mesaque
Last active March 24, 2019 22:15
Show Gist options
  • Save mesaque/61987da8711a4aa5891015a0a90ba881 to your computer and use it in GitHub Desktop.
Save mesaque/61987da8711a4aa5891015a0a90ba881 to your computer and use it in GitHub Desktop.
default.conf
server {
listen 80;
server_name localhost;
add_header X-Backend-Server $hostname;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment