From 66ba160ffa7112ec8440313c42335a10c44e2ba5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 25 Apr 2021 20:20:53 +0200 Subject: [PATCH] Fix nginx config again --- nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 708c9de..4088214 100644 --- a/nginx.conf +++ b/nginx.conf @@ -57,10 +57,11 @@ http { location / { root /usr/share/nginx/html; index index.html index.htm; + + error_page 404 /404.html; + error_page 500 502 503 504 /50x.html; } - error_page 404 /blog/404.html; - error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; }