Skip to content

Commit

Permalink
update: htaccess WF SSL cert.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbruce committed Jan 13, 2024
1 parent 42283ab commit 39fb774
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site-root/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ ErrorDocument 500 /error-500.html
Header add Allow "GET, HEAD"

# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
# RewriteCond %{HTTPS} !=on
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
# Header always set Content-Security-Policy "upgrade-insecure-requests;"

# Always remove www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
Expand Down

0 comments on commit 39fb774

Please sign in to comment.