samuel-philipp.de/src/.htaccess
Samuel Philipp edf8428e8e
All checks were successful
continuous-integration/drone/push Build is passing
updated .htaccess
2019-12-17 18:16:24 +01:00

6 lines
214 B
ApacheConf

RewriteEngine On
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'"