Make sure we allow HTTPS request upgrades when behind https proxy

This commit is contained in:
Orsiris de Jong 2022-11-04 19:41:53 +01:00 committed by GitHub
parent d6b650147a
commit f76977e021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3,3 +3,7 @@ RewriteRule ^assets - [L]
RewriteRule ^.well-known - [L]
RewriteRule ^data/public/ - [L]
RewriteRule . index.php
<IfModule headers_module>
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</ifModule>