Skip to content

Instantly share code, notes, and snippets.

@peerapach
Created January 8, 2021 07:25
Show Gist options
  • Save peerapach/36da672cbb94cb6b041629760643c82f to your computer and use it in GitHub Desktop.
Save peerapach/36da672cbb94cb6b041629760643c82f to your computer and use it in GitHub Desktop.
simple nginx conf
server {
listen 8080;
server_name _;
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