From 7b1a5fec6c2d1f293cd0995d964ca1ca1663c558 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 15 Dec 2024 11:12:26 +0100 Subject: [PATCH] rimosso forzatura pagine di errore --- rootfs/etc/nginx/http.d/default.conf | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rootfs/etc/nginx/http.d/default.conf b/rootfs/etc/nginx/http.d/default.conf index 70bc7ef..95a4784 100644 --- a/rootfs/etc/nginx/http.d/default.conf +++ b/rootfs/etc/nginx/http.d/default.conf @@ -18,18 +18,6 @@ server { # autoindex_localtime on; } - error_page 404 /404.html; - location = /404.html { - internal; - } - - # redirect server error pages to the static page /50x.html - # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } - gzip on; gzip_proxied any; gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js image/x-icon font/woff2 font/woff application/x-font-woff;