From 51596893e1b9eb634a93014cd9ba7a8491bc083a Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 7 Dec 2022 03:59:03 -0300 Subject: [PATCH] :) --- nginx/sites-available/i.zzls.xyz.conf | 6 ++++++ 1 file changed, 6 insertions(+) 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 {