From af8c13b44bf3cc3722c772342bc1f69c3fdeffcc Mon Sep 17 00:00:00 2001 From: binary Date: Sun, 24 Jan 2021 16:05:32 +0100 Subject: Triggered an 500 error --- roles/relayd/templates/relayd.conf.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'roles/relayd') diff --git a/roles/relayd/templates/relayd.conf.j2 b/roles/relayd/templates/relayd.conf.j2 index e4b1eb5..243a0cc 100644 --- a/roles/relayd/templates/relayd.conf.j2 +++ b/roles/relayd/templates/relayd.conf.j2 @@ -51,8 +51,6 @@ http protocol "http" { # acme pass request quick path "/.well-known/acme-challenge/*" forward to - match response header set "Content-Security-Policy" value "upgrade-insecure-requests" - pass request header "Host" value "{{ global.domain_name }}" forward to {% for h in groups["servers"] %} {% set h = dict(hostvars[h]) %} @@ -88,7 +86,7 @@ relay "wwwtls" { {% for hostname in groups["servers"] %} {% set h = dict(hostvars[hostname]) %} {% for service in h.services if service.domain is defined %} - forward to <{{ hostname }}> port {{ service.port }} check http "/" code 200 + forward to <{{ hostname }}> port {{ service.port }} {% endfor %} {% endfor %} -- cgit v1.2.3