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;
|
||||
proxy_pass http://127.0.0.1:40007/;
|
||||
include configs/proxyheaders.conf;
|
||||
error_page 404 = @fallback;
|
||||
proxy_intercept_errors on;
|
||||
error_page 404 = /error;
|
||||
}
|
||||
|
||||
location @fallback {
|
||||
root /var/www/404;
|
||||
index index.html;
|
||||
location ^/error* {
|
||||
root /var/www/html;
|
||||
}
|
||||
|
||||
#location /upload {
|
||||
|
@ -46,4 +46,4 @@ server {
|
|||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
server {
|
||||
|
||||
root /var/www/html;
|
||||
root /var/www/website;
|
||||
index index.html index.htm index.nginx-debian.html;
|
||||
|
||||
server_name zzls.xyz www.zzls.xyz;
|
||||
|
|
Loading…
Reference in a new issue