mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Allow inline scripts for yunohost-portal (nginx CSP)
This commit is contained in:
parent
6f8b3fd57f
commit
26d4d9420c
1 changed files with 1 additions and 1 deletions
|
@ -13,5 +13,5 @@ location /yunohost/sso/ {
|
|||
more_set_headers "Cache-Control: no-store, no-cache, must-revalidate";
|
||||
}
|
||||
|
||||
more_set_headers "Content-Security-Policy: upgrade-insecure-requests; default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'none'; img-src 'self' data:;";
|
||||
more_set_headers "Content-Security-Policy: upgrade-insecure-requests; default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; object-src 'none'; img-src 'self' data:;";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue