Quantcast
Viewing all articles
Browse latest Browse all 4735

Server failed when check is added

@natali wrote:

Hello everyone
I am trying to configure a sample of HAProxy and I am running into some difficults…
part of the configuration:
frontend firstbalance
bind *:80
option forwardfor
default_backend webservers

backend webservers
balance roundrobin
server web1 172.217.21.238
server web2 98.138.219.232

Problem 1- when I change the port " bind *:80 " to another port, the service is OK but I can’t reach nothing. (when I google ip:port)

Problem 2- adding ‘check’ option makes the service failed

backend webservers
balance roundrobin
server web1 172.217.21.238 check
server web2 98.138.219.232 check

could you please help me solve this?
And if you have some tips for beginners that would be great

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4735

Trending Articles



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