Change server listen port to 80 and update 404 error page

This commit is contained in:
Max Schmidt 2023-10-24 10:08:50 +02:00
parent 36703434d4
commit f6debe5f56

View File

@ -12,7 +12,7 @@ http {
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
server {
listen 3000;
listen 80;
location / {
root /usr/share/nginx/html;
@ -36,6 +36,6 @@ http {
add_header Content-Type application/javascript;
}
error_page 404 /error_page.html;
error_page 404 /404.html;
}
}