copr-be-dev: last missing part for ipv6?

The socket config ":80" caused that ipv6 for some reason didn't work.

I could just fix it just by "0.0.0.0:80" - but the overall rule wasn't
useful (thé only redirect there wasn't working).  So I dropped the
overal socket construct, and lighttpd starts working on both IPv4 and
IPv6.

Follow up for 619a163447
This commit is contained in:
Pavel Raiskup 2021-01-22 15:09:13 +01:00
parent 29a38663e5
commit f025f0cc31

View file

@ -498,14 +498,6 @@ $SERVER["socket"] == "0.0.0.0:443" {
ssl.use-sslv2 = "disable"
ssl.use-sslv3 = "disable"
}
# Force HTTPS
$SERVER["socket"] == ":80" {
url.redirect = (
"^/(.*)" => "https://copr-be-dev.cloud.fedoraproject.org/$1"
)
}
{% endif %}
url.redirect = ( "^/results/sgallagh/cockpit-preview/(.+)" => "/results/@cockpit/cockpit-preview/$1" )