mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Debian bug #514005 is resolved in mod_gnutls 0.7.4-1. This reverts commit cdda77b3b4c815b80603d1a69d793b5156c5672e.
16 lines
474 B
Plaintext
16 lines
474 B
Plaintext
##
|
|
## When enabled allows only SSL traffic onto Plinth. This is done by
|
|
## redirecting non-secure traffic to secure traffic. The redirect is
|
|
## permanent as recommended in:
|
|
## http://tools.ietf.org/html/rfc6797#section-7
|
|
##
|
|
## Requires the following Apache modules to be enabled:
|
|
## mod_rewrite
|
|
## mod_ssl or mod_gnutls
|
|
##
|
|
<Location /plinth>
|
|
RewriteEngine on
|
|
ReWriteCond %{HTTPS} !=on
|
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
|
</Location>
|