1
0
Fork 0
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:
DDATAA 2022-11-24 10:56:24 +00:00 committed by GitHub
parent 7e4d59ea94
commit c43366e68a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'";