Skip to content

Commit 4a5f7bd

Browse files
authored
Fix Strict-Transport-Security response header not set (#5)
1 parent 09848cd commit 4a5f7bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ frontend https
107107
http-request add-header X-Forwarded-Proto https
108108
http-request set-header X-Forwarded-Host %[req.hdr(Host)]
109109
http-request add-header X-Forwarded-Port %[dst_port]
110-
http-request add-header Strict-Transport-Security max-age=15768000
110+
http-response add-header Strict-Transport-Security max-age=15768000
111111

112112
# Gateway tunnelling config
113113
.if defined(SISH_HOST) && defined(SISH_PORT)

0 commit comments

Comments
 (0)