[nextcloud] remove error_pages redirection from nginx.conf (#177)

* fix #137 nginx.conf error_pages

* nextcloud-daily: remove error_pages from nginx.conf
This commit is contained in:
hoellen 2017-04-29 01:07:50 +02:00 committed by Wonderfall
parent 39c2418c6d
commit 19ef7b2f57
2 changed files with 0 additions and 6 deletions

View File

@ -37,9 +37,6 @@ http {
client_max_body_size <UPLOAD_MAX_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;

View File

@ -37,9 +37,6 @@ http {
client_max_body_size <UPLOAD_MAX_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;