Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Automaticaly generated, dont edit manually.
- # Generated on: 2024-01-26 20:40
- frontend plat
- bind 0.0.0.0:443 name 0.0.0.0:443 ssl crt-list /var/etc/haproxy/plat.crt_list
- mode http
- log global
- option http-keep-alive
- option forwardfor
- acl https ssl_fc
- http-request set-header X-Forwarded-Proto http if !https
- http-request set-header X-Forwarded-Proto https if https
- timeout client 30000
- acl plat24 var(txn.txnhost) -m str -i website.org
- acl aclcrt_plat var(txn.txnhost) -m reg -i ^website\.org(:([0-9]){1,5})?$
- http-request set-var(txn.txnhost) hdr(host)
- http-request add-header X-Forwarded-Proto https if aclcrt_plat
- use_backend plat_ipvANY if plat24 aclcrt_plat
- use_backend plat_ipvANY if aclcrt_plat
- frontend platred
- bind 0.0.0.0:80 name 0.0.0.0:80
- mode http
- log global
- option http-keep-alive
- option forwardfor
- acl https ssl_fc
- http-request set-header X-Forwarded-Proto http if !https
- http-request set-header X-Forwarded-Proto https if https
- timeout client 30000
- http-request redirect scheme https unless { ssl_fc }
- http-request add-header X-Forwarded-Proto http
- default_backend plat_ipvANY
- default_backend plat_ipvANY
- backend plat_ipvANY
- mode http
- id 102
- log global
- http-check send meth GET
- timeout connect 30000
- timeout server 30000
- retries 3
- load-server-state-from-file global
- option httpchk
- server plat23 192.168.77.99:80 id 103 check inter 1000
Add Comment
Please, Sign In to add comment