mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update nginx.conf
Not super comfortable with those three lines :/ There's already https://github.com/YunoHost/yunohost/blob/dev/conf/nginx/server.tpl.conf#L52 and https://github.com/YunoHost/yunohost/blob/dev/conf/nginx/security.conf.inc#L33-L34
This commit is contained in:
parent
263fd46155
commit
870d575160
1 changed files with 0 additions and 3 deletions
|
@ -4,9 +4,6 @@ set $allowed_origins "https://${sandbox_domain}";
|
||||||
set $api_domain "__DOMAIN__";
|
set $api_domain "__DOMAIN__";
|
||||||
set $files_domain "__DOMAIN__";
|
set $files_domain "__DOMAIN__";
|
||||||
ssl_ecdh_curve secp384r1;
|
ssl_ecdh_curve secp384r1;
|
||||||
more_set_headers "Strict-Transport-Security: max-age=31536000; includeSubDomains; always";
|
|
||||||
more_set_headers "X-XSS-Protection: '1; mode=block'";
|
|
||||||
more_set_headers "X-Content-Type-Options: nosniff";
|
|
||||||
more_set_headers "Access-Control-Allow-Origin: '${allowed_origins}'";
|
more_set_headers "Access-Control-Allow-Origin: '${allowed_origins}'";
|
||||||
more_set_headers "Cross-Origin-Resource-Policy: cross-origin";
|
more_set_headers "Cross-Origin-Resource-Policy: cross-origin";
|
||||||
more_set_headers "Cross-Origin-Embedder-Policy: require-corp";
|
more_set_headers "Cross-Origin-Embedder-Policy: require-corp";
|
||||||
|
|
Loading…
Reference in a new issue