This commit is contained in:
parent
edf8428e8e
commit
f763e6dd84
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
RewriteEngine On
|
||||
|
||||
Header always set "Content-Security-Policy" "default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'"
|
||||
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
|
||||
Header add Content-Security-Policy "default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'"
|
||||
|
|
Loading…
Reference in a new issue