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

This commit is contained in:
DDATAA 2022-11-08 17:25:56 +01:00 committed by GitHub
parent 87c7a51e77
commit 2a2e12b758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ if ($args ~ ver=) {
} }
more_set_headers "Cache-Control: $cacheControl"; more_set_headers "Cache-Control: $cacheControl";
set $styleSrc "'unsafe-inline' 'self' https://${main_domain}"; set $styleSrc "'unsafe-inline' 'self' https://${main_domain}";
set $connectSrc "'self' https://${main_domain} blob: wss://${api_domain} https://${sandbox_domain}"; set $connectSrc "'self' blob https://${main_domain} https://${sandbox_domain} wss://${main_domain}";
set $fontSrc "'self' data: https://${main_domain}"; set $fontSrc "'self' data: https://${main_domain}";
set $imgSrc "'self' data: blob: https://${main_domain}"; set $imgSrc "'self' data: blob: https://${main_domain}";
set $frameSrc "'self' https://${sandbox_domain} blob:"; set $frameSrc "'self' https://${sandbox_domain} blob:";