diff --git a/data/etc/apache2/sites-available/plinth-ssl.conf b/data/etc/apache2/sites-available/plinth-ssl.conf index a7831936c..93ad6b06f 100644 --- a/data/etc/apache2/sites-available/plinth-ssl.conf +++ b/data/etc/apache2/sites-available/plinth-ssl.conf @@ -6,10 +6,11 @@ ## ## Requires the following Apache modules to be enabled: ## mod_rewrite -## mod_ssl +## mod_gnutls ## 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]