mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Apply workaround to SSL config for mod_gnutls
HTTPS environmental variable is not set properly by mod_gnutls.
This commit is contained in:
1 parent
d14f077608
commit
cdda77b3b4
1 file changed
+3
-2
@@ -6,10 +6,11 @@
|
||||
##
|
||||
## Requires the following Apache modules to be enabled:
|
||||
## mod_rewrite
|
||||
## mod_ssl
|
||||
## mod_gnutls
|
||||
##
|
||||
<Location /plinth>
|
||||
RewriteEngine on
|
||||
ReWriteCond %{HTTPS} !=on
|
||||
# FIXME: Workaround for mod_gnutls (Debian Bug #514005)
|
||||
RewriteCond %{SERVER_PORT} !^443$
|
||||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
</Location>
|
||||
Reference in new issue
Block a user