Update webpage

This commit is contained in:
Fijxu 2022-12-12 05:06:10 -03:00
parent 1b9aa606cd
commit f3cc58b092
2 changed files with 6 additions and 6 deletions

View file

@ -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
} }

View file

@ -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;