From bbb4460c3df2217c58925c43ec7eed4e0555c87e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 22 Jan 2021 15:36:18 +0100 Subject: [PATCH] copr-be: re-enable port 80 The socket statement for :80 needs to be configured, otherwise http:// doesn't work at all. f025f0cc31e2b847d3b644620a236c6a50e6a386 --- roles/copr/backend/templates/lighttpd/lighttpd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/copr/backend/templates/lighttpd/lighttpd.conf b/roles/copr/backend/templates/lighttpd/lighttpd.conf index 803cbdc2ce..945e0a1fc3 100644 --- a/roles/copr/backend/templates/lighttpd/lighttpd.conf +++ b/roles/copr/backend/templates/lighttpd/lighttpd.conf @@ -500,6 +500,8 @@ $SERVER["socket"] == "0.0.0.0:443" { } {% endif %} +$SERVER["socket"] == "0.0.0.0:80" {} + url.redirect = ( "^/results/sgallagh/cockpit-preview/(.+)" => "/results/@cockpit/cockpit-preview/$1" ) url.redirect += ( "^/results/(.*)/(.*)/mageia-(.*)-i386(.*)" => "/results/$1/$2/mageia-$3-i586$4" )