diff --git a/nginx/sites-available/i.zzls.xyz.conf b/nginx/sites-available/i.zzls.xyz.conf index 1329fdf..d4991b6 100755 --- a/nginx/sites-available/i.zzls.xyz.conf +++ b/nginx/sites-available/i.zzls.xyz.conf @@ -13,6 +13,12 @@ server { client_max_body_size 51M; proxy_pass http://127.0.0.1:40007/; include configs/proxyheaders.conf; + error_page 404 = @fallback; + } + + location @fallback { + alias /var/www/404; + index index.html } #location /upload {