diff options
author | binary <me@rgoncalves.se> | 2021-01-24 16:05:32 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-24 16:05:32 +0100 |
commit | af8c13b44bf3cc3722c772342bc1f69c3fdeffcc (patch) | |
tree | 4b049ef5c8ea2b2d98456d202206aa68d7ec038e /roles/relayd/templates | |
parent | 92ff994700d8a706ff7ecd22c4bdeec306eaf53a (diff) | |
download | infrastructure-af8c13b44bf3cc3722c772342bc1f69c3fdeffcc.tar.gz |
Triggered an 500 error
Diffstat (limited to 'roles/relayd/templates')
-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 %} |