fix nginx server config

This commit is contained in:
Kameron Kenny - pi501 2024-05-20 18:16:10 -04:00
parent 301dcdddb3
commit 52826f65b4
1 changed files with 18 additions and 18 deletions

View File

@ -27,9 +27,8 @@ http {
default_type application/octet-stream; default_type application/octet-stream;
access_log /var/log/nginx/access.log; access_log /var/log/nginx/access.log;
gzip off; gzip off;
}
server { server {
listen 4000 default_server; listen 4000 default_server;
# listen [::]:80 default_server; # listen [::]:80 default_server;
@ -44,5 +43,6 @@ server {
# as directory, then fall back to displaying a 404. # as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }
} }
}