diff options
-rw-r--r-- | roles/relayd/templates/relayd.conf.j2 | 4 |
1 files changed, 1 insertions, 3 deletions
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 <local> - match response header set "Content-Security-Policy" value "upgrade-insecure-requests" - pass request header "Host" value "{{ global.domain_name }}" forward to <local> {% 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 %} |