config changes for bankid-idp site
This commit is contained in:
parent
b7aba1119d
commit
bf6e70fe7f
1 changed files with 12 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue