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