aggiunt header forwarded proto https
This commit is contained in:
parent
93f426a772
commit
db2722b876
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue