Skip to content

Commit e020472

Browse files
author
JasonFord
committed
adding backend for no-chroot
1 parent 89d4472 commit e020472

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

config/0-haproxy-no-chroot.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,10 @@ frontend stats
5555

5656
backend be_gateway
5757
http-request return status 200 content-type "text/plain" string "${BUILD_VERSION} ${BUILD_ID}" if TRUE
58+
59+
backend be_default
60+
http-request set-header X-Forwarded-Port %[dst_port]
61+
http-request set-header Host ${CODECOV_DEFAULT_HOST_HEADER}
62+
http-request add-header X-Forwarded-Proto https if { ssl_fc }
63+
http-response set-header X-DEFAULT true
64+
server s1 ${CODECOV_DEFAULT_HOST}:${CODECOV_DEFAULT_PORT} check ${CODECOV_DEFAULT_SSL_FLAG}init-addr last,libc,none

0 commit comments

Comments
 (0)