1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

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

This commit is contained in:
Jimmy Monin 2018-11-25 22:10:06 +01:00
parent de3979a065
commit 2848fe3719

View file

@ -19,6 +19,7 @@ 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;
@ -85,6 +86,8 @@ 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;
}