Change server listen port to 80 and update 404 error page
This commit is contained in:
parent
36703434d4
commit
f6debe5f56
@ -12,7 +12,7 @@ http {
|
|||||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 3000;
|
listen 80;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
@ -36,6 +36,6 @@ http {
|
|||||||
add_header Content-Type application/javascript;
|
add_header Content-Type application/javascript;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_page 404 /error_page.html;
|
error_page 404 /404.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user