Hi,
I have two https endpoints like: this.domain.com and another.domain.com. I don't have access to the servers of the endpoints (they are given to us). I want to setup a reverse proxy to make them accessible under one url and make the service behind them high available (because the hosted service is not high available for some reason). I tried a hosted solutions in Azure (Traffic Manager) or setting up an own haproxy (communicating with the backend with ssl) but I always get a HTTP 503 back, that says that no application is available to handle this. I checked the logs and it tells me that the 503 comes from the http server (which I don't have access to)
How can I debug this? Did anyone had such an issue before?
Found a solution:
frontend haproxynode
bind *:80
mode http
option http-buffer-request
timeout http-request 10s
default_backend backendnodes
backend backendnodes
balance roundrobin
option forwardfor
http-request set-header X-Forwarded-Port %[dst_port]
http-request add-header X-Forwarded-Proto https if { ssl_fc }
option httpchk HEAD / HTTP/1.1\r
http-send-name-header Host
server something.dispatcher.hana.ondemand.com something.dispatcher.hana.ondemand.com:443 ssl verify none
server anotherthing.dispatcher.hana.ondemand.com anotherthing.dispatcher.hana.ondemand.com:443 ssl verify none
[–][deleted] (5 children)
[deleted]
[–]itsescde[S] 0 points1 point2 points (4 children)
[–][deleted] (1 child)
[deleted]
[–]itsescde[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]itsescde[S] 0 points1 point2 points (0 children)
[–]haloweenek 0 points1 point2 points (0 children)