config changes for bankid-idp site

This commit is contained in:
Maria Haider 2025-05-20 17:12:14 +02:00
parent b7aba1119d
commit bf6e70fe7f
Signed by: mariah
GPG key ID: 6EF520A1829E8B1D

View file

@ -15,6 +15,9 @@ frontend {{ site_name }}
timeout http-request 10s
timeout http-keep-alive 4s
http-request return status 200 content-type "text/plain" file "/opt/frontend/config/common/robots.txt" hdr "cache-control" "no-cache" if { path /robots.txt }
option forwardfor
http-request set-header X-Forwarded-Proto https
http-request set-header client-cert %{+Q}[ssl_c_der,base64]
@ -26,3 +29,12 @@ frontend {{ site_name }}
use_backend {{ site_name }}__default
{% endblock frontend %}
{% block backend %}
{{ output_backends(backends,
config=[
'cookie SERVERID insert indirect nocache',
'option httpchk GET /bankid/idp/api/status'
]
)
}}
{% endblock backend %}