Browse Source

Revert "Upgrade nginx configuration following release 14 recommendations (https://docs.nextcloud.com/server/14/admin_manual/installation/nginx.html)"

This reverts commit 2a86a900a0.
pull/162/head
Mickaël Martin 7 years ago
parent
commit
1b7992dae7
  1. 3
      conf/nginx.conf

3
conf/nginx.conf

@ -19,7 +19,6 @@ location ^~ __PATH__ {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
# Set max upload size
client_max_body_size 10G;
@ -86,8 +85,6 @@ location ^~ __PATH__ {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
# Optional: Don't log access to assets
access_log off;
}

Loading…
Cancel
Save