From 26b5d13f1e83439ffb53ad840dc9f012ea8e13ab Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 23 Oct 2014 15:17:31 +0200 Subject: [PATCH] Add a permanent redirection from http to https --- roles/anitya/frontend/files/0_releasemonitoring.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/anitya/frontend/files/0_releasemonitoring.conf b/roles/anitya/frontend/files/0_releasemonitoring.conf index 7500b6565a..263291f6ee 100644 --- a/roles/anitya/frontend/files/0_releasemonitoring.conf +++ b/roles/anitya/frontend/files/0_releasemonitoring.conf @@ -1,5 +1,11 @@ LoadModule ssl_module modules/mod_ssl.so +NameVirtualHost *:80 + + ServerName release-monitoring.org + Redirect permanent / https://release-monitoring.org/ + + Listen 443 ServerName release-monitoring.org