diff --git a/nextcloud/11.0/nginx.conf b/nextcloud/11.0/nginx.conf index 0633855..aea9374 100644 --- a/nextcloud/11.0/nginx.conf +++ b/nextcloud/11.0/nginx.conf @@ -37,9 +37,6 @@ http { client_max_body_size ; fastcgi_buffers 64 4K; - error_page 403 /core/templates/403.php; - error_page 404 /core/templates/404.php; - add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options nosniff; diff --git a/nextcloud/daily/nginx.conf b/nextcloud/daily/nginx.conf index 0633855..aea9374 100644 --- a/nextcloud/daily/nginx.conf +++ b/nextcloud/daily/nginx.conf @@ -37,9 +37,6 @@ http { client_max_body_size ; fastcgi_buffers 64 4K; - error_page 403 /core/templates/403.php; - error_page 404 /core/templates/404.php; - add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"; add_header X-Frame-Options "SAMEORIGIN"; add_header X-Content-Type-Options nosniff;