updated .htaccess
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Samuel Philipp 2019-12-17 18:16:24 +01:00
parent fc8d3587c9
commit edf8428e8e
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
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'"