From 19ef7b2f57337599b53c7c8611c5a78df141371b Mon Sep 17 00:00:00 2001 From: hoellen Date: Sat, 29 Apr 2017 01:07:50 +0200 Subject: [PATCH] [nextcloud] remove error_pages redirection from nginx.conf (#177) * fix #137 nginx.conf error_pages * nextcloud-daily: remove error_pages from nginx.conf --- nextcloud/11.0/nginx.conf | 3 --- nextcloud/daily/nginx.conf | 3 --- 2 files changed, 6 deletions(-) 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;