diff --git a/roles/mailman/templates/nginx.d.conf.j2 b/roles/mailman/templates/nginx.d.conf.j2 index 28f59250d9917e874f4262c8248ae37a234bd28b..62f4aeeb337e19fd2f55d9d4461c0c2f0a73f1de 100644 --- a/roles/mailman/templates/nginx.d.conf.j2 +++ b/roles/mailman/templates/nginx.d.conf.j2 @@ -52,7 +52,7 @@ server { location ~ ^/(static|mailman3|archives|accounts|admin3)($|/) { proxy_pass http://{{ hostvars['mailman3.archlinux.org']['wireguard_address'] }}; - proxy_set_header Host lists.archlinux.org; + proxy_set_header Host {{ lists_domain }}; proxy_set_header X-Forwarded-For $remote_addr; }