mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update nginx.conf
replace api and files domain with normal domain since we don't have specific domains for those.
This commit is contained in:
parent
7e4d59ea94
commit
c43366e68a
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
set $main_domain "__DOMAIN__";
|
set $main_domain "__DOMAIN__";
|
||||||
set $sandbox_domain "sandbox-__DOMAIN__";
|
set $sandbox_domain "sandbox-__DOMAIN__";
|
||||||
set $allowed_origins "https://${sandbox_domain}";
|
set $allowed_origins "https://${sandbox_domain}";
|
||||||
set $api_domain "api.__DOMAIN__";
|
set $api_domain "__DOMAIN__";
|
||||||
set $files_domain "files.__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 "Strict-Transport-Security: 'max-age=31536000; includeSubDomains' always";
|
||||||
more_set_headers "X-XSS-Protection: '1; mode=block'";
|
more_set_headers "X-XSS-Protection: '1; mode=block'";
|
||||||
|
|
Loading…
Add table
Reference in a new issue