aggiunt header forwarded proto https

This commit is contained in:
Marco Procaccini 2026-02-17 12:47:01 +01:00
parent 93f426a772
commit db2722b876
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ frontend http
option forwardfor
# HSTS (63072000 seconds)
http-response set-header Strict-Transport-Security max-age=63072000
http-request set-header X-Forwarded-Proto https if { ssl_fc }
# Remove the port from the host endpoint.
http-request replace-value Host (.*):.* \1
{% if docker_swarm_cluster_portainer_install %}