Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Multiple bind lines, how to check which one?

$
0
0

@GerMalaz wrote:

frontend https

bind *:443 ssl …
server local 127.0.0.1:8080 send-proxy-v2

frontend http
bind *:80
bind 127.0.0.1:8080 accept-proxy

in http, how to check how client connected?
Using nginx behind, setting X-Forwarded-Proto (and Forwarded when available).

frontend https sets them.
want to kill them if client is connecting via http but setting the header(s).

Thanks in advance,
Gerardo

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>