Skip to content

Instantly share code, notes, and snippets.

@digitalap3
Created March 14, 2019 05:45
Show Gist options
  • Select an option

  • Save digitalap3/5727d92d16fb3283f9e5ff6deedadc16 to your computer and use it in GitHub Desktop.

Select an option

Save digitalap3/5727d92d16fb3283f9e5ff6deedadc16 to your computer and use it in GitHub Desktop.
altered default.conf
server {
listen 8080;
server_name localhost;
location / {
root /usr/share/nginx/html;
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 /usr/share/nginx/html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment