diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index eb15663514..92e21acc0b 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -263,7 +263,7 @@ - role: httpd/reverseproxy website: apps.fedoraproject.org destname: mdapi - remotepath: / + remotepath: /mdapi localpath: /mdapi proxyurl: http://localhost:10043 when: env == "staging" diff --git a/roles/haproxy/templates/haproxy.cfg.stg b/roles/haproxy/templates/haproxy.cfg.stg index 8dd1ba8e0d..464ec16cb0 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -194,7 +194,7 @@ listen statscache 0.0.0.0:10042 listen mdapi 0.0.0.0:10043 balance hdr(appserver) server mdapi01 mdapi01:80 check inter 10s rise 1 fall 2 - option httpchk GET / + option httpchk GET /mdapi # Apache doesn't handle the initial connection here like the other proxy # entries. This proxy also doesn't use the http mode like the others.