Update webpage
This commit is contained in:
parent
1b9aa606cd
commit
f3cc58b092
2 changed files with 6 additions and 6 deletions
|
@ -13,12 +13,12 @@ server {
|
||||||
client_max_body_size 51M;
|
client_max_body_size 51M;
|
||||||
proxy_pass http://127.0.0.1:40007/;
|
proxy_pass http://127.0.0.1:40007/;
|
||||||
include configs/proxyheaders.conf;
|
include configs/proxyheaders.conf;
|
||||||
error_page 404 = @fallback;
|
proxy_intercept_errors on;
|
||||||
|
error_page 404 = /error;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @fallback {
|
location ^/error* {
|
||||||
root /var/www/404;
|
root /var/www/html;
|
||||||
index index.html;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#location /upload {
|
#location /upload {
|
||||||
|
@ -46,4 +46,4 @@ server {
|
||||||
return 404; # managed by Certbot
|
return 404; # managed by Certbot
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
server {
|
server {
|
||||||
|
|
||||||
root /var/www/html;
|
root /var/www/website;
|
||||||
index index.html index.htm index.nginx-debian.html;
|
index index.html index.htm index.nginx-debian.html;
|
||||||
|
|
||||||
server_name zzls.xyz www.zzls.xyz;
|
server_name zzls.xyz www.zzls.xyz;
|
||||||
|
|
Loading…
Add table
Reference in a new issue