Skip to content

Commit

Permalink
Merge branch 'main' of ../private
Browse files Browse the repository at this point in the history
  • Loading branch information
lunar-devops committed Dec 30, 2024
2 parents d5fa886 + f855c35 commit 300fa48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxy/rootfs/etc/haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ frontend http-in
http-request set-dst var(req.host_ip) # Set new destination IP
http-request set-dst-port var(txn.dst_port)

# Remove headers starting with x-lunar-custom
http-request del-header x-lunar-custom -m beg

# Send request to provider
use_backend %[var(txn.host)] if use_mtls
use_backend provider if is_https_scheme !use_mtls
Expand Down

0 comments on commit 300fa48

Please sign in to comment.