mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Modify HSTS policy duration to 1 year
This commit is contained in:
parent
bf43673ab9
commit
66d721b9e7
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ location ^~ __PATH__/ {
|
||||||
client_body_buffer_size 512k;
|
client_body_buffer_size 512k;
|
||||||
|
|
||||||
# HTTP response headers borrowed from Nextcloud `.htaccess`
|
# HTTP response headers borrowed from Nextcloud `.htaccess`
|
||||||
more_set_headers "Strict-Transport-Security: max-age=15768000; includeSubDomains; preload;";
|
more_set_headers "Strict-Transport-Security: max-age=63072000; includeSubDomains; preload;";
|
||||||
more_set_headers "Referrer-Policy: no-referrer";
|
more_set_headers "Referrer-Policy: no-referrer";
|
||||||
more_set_headers "X-Content-Type-Options: nosniff";
|
more_set_headers "X-Content-Type-Options: nosniff";
|
||||||
more_set_headers "X-Download-Options: noopen";
|
more_set_headers "X-Download-Options: noopen";
|
||||||
|
|
Loading…
Add table
Reference in a new issue