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:
Nick Daly committed 2014-03-13 12:16:32 -05:00
1 parent 2b4e17e425
commit a09aa90145
1 file changed
+1
+1
View File
@@ -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.