Added haproxy config create files and variables.

This commit is contained in:
2021-09-27 11:13:29 +00:00
parent c3c547b82f
commit 146c26cc38
4 changed files with 151 additions and 0 deletions

7
scripts/global_https Normal file
View File

@@ -0,0 +1,7 @@
bind :443
mode tcp
option tcplog
option dontlognull
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
http-request add-header X-Forwarded-Proto https if { ssl_fc }