mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Only redirect Plinth requests to HTTPS.
Previously, we redirected all requests to HTTPS. Now, we redirect only when the user tries to connect to the Plinth site.
This commit is contained in:
parent
2b4e17e425
commit
a09aa90145
@ -3,6 +3,7 @@
|
||||
## Force SSL
|
||||
RewriteEngine on
|
||||
ReWriteCond %{SERVER_PORT} !^443$
|
||||
ReWriteCond %{REQUEST_URI} ^/plinth
|
||||
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
|
||||
|
||||
## Shared options.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user