Skip to content

Commit

Permalink
adjust nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
greg6775 committed Oct 1, 2023
1 parent d61ef11 commit bf9cfb5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
map $http_upgrade $connection_upgrade {
default Upgrade;
'' close;
}
server {
listen 80;
listen [::]:80;
Expand All @@ -10,6 +14,7 @@ server {
}

error_page 500 502 503 504 /500.html;
error_page 404 = 200 /;
location = /50x.html {
root /usr/share/nginx/html;
}
Expand Down

0 comments on commit bf9cfb5

Please sign in to comment.