Fixed Content-Security-Policy rules for script-src and style-src
This commit is contained in:
parent
d19fac15fe
commit
c42e882ffa
@ -35,7 +35,7 @@ Options -Indexes
|
||||
Header always set Permissions-Policy "geolocation=(self);midi=(self);microphone=(self);camera=(self);fullscreen=(self);payment=()"
|
||||
|
||||
Header onsuccess unset Content-Security-Policy
|
||||
Header always set Content-Security-Policy: default-src 'none'; script-src 'self'
|
||||
Header always set Content-Security-Policy "default-src 'none'; script-src 'self' 'unsafe-inline' https:; style-src 'self' 'unsafe-inline' https:; img-src https:; font-src https:; form-action https:;"
|
||||
|
||||
SetEnv modHeadersAvailable true
|
||||
</IfModule>
|
||||
|
Loading…
x
Reference in New Issue
Block a user