summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/owncloud.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-07-26 21:50:16 +0200
committermakefu <github@syntax-fehler.de>2018-07-26 21:50:16 +0200
commit45a93b32a646a57a4edd7e1febf6d1be373a69da (patch)
tree0e2f74def21fb9f572b580193749efee8712dfdc /makefu/2configs/deployment/owncloud.nix
parent6c15e8fe7b9870206d681b37e059650d96c7a26e (diff)
ma owncloud: add required zend_extension to enable opcache
Diffstat (limited to 'makefu/2configs/deployment/owncloud.nix')
-rw-r--r--makefu/2configs/deployment/owncloud.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index e9d4b18e..b3ea7ed4 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -108,7 +108,6 @@ let
# Add headers to serve security related headers
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
- add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
# Optional: Don't log access to assets
@@ -144,6 +143,7 @@ let
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
+ zend_extension=${pkgs.php}/lib/php/extensions/opcache.so
display_errors = on
display_startup_errors = on