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

fix Missing YunoHost tile #26

add more headers to change nextcloud CSP.
yuonohost tile appears again
This commit is contained in:
bogdanovic 2017-04-01 11:47:57 +02:00
parent beb6dc9d90
commit a7fa165643

View file

@ -20,6 +20,7 @@ location ^~ #LOCATION# {
add_header X-Robots-Tag none; add_header X-Robots-Tag none;
add_header X-Download-Options noopen; add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none; add_header X-Permitted-Cross-Domain-Policies none;
more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;";
# Set max upload size # Set max upload size
client_max_body_size 10G; client_max_body_size 10G;
@ -82,6 +83,7 @@ location ^~ #LOCATION# {
add_header X-Robots-Tag none; add_header X-Robots-Tag none;
add_header X-Download-Options noopen; add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none; add_header X-Permitted-Cross-Domain-Policies none;
more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;";
# Optional: Don't log access to assets # Optional: Don't log access to assets
access_log off; access_log off;
} }