Thanks, Lukas!  Sorry, I think I have been just replying to you by
accidentally hitting the 'reply' button.

So, I have everything in the listen section commented out:

frontend main
   bind :2200
   default_backend sftp
   timeout client 5d


#listen stats
#   bind *:2200
#   mode tcp
#   maxconn 2000
#   option redis-check
#   retries 3
#   option redispatch
#   balance roundrobin

#use_backend sftp_server
backend sftp
balance roundrobin
server web 10.0.15.21:2200 check weight 2
server nagios 10.0.15.15:2200 check weight 2

Is that what I need, right?

thanks.

On Wed, Jan 10, 2018 at 4:00 PM, Lukas Tribus <[email protected]> wrote:

> Hello Imam,
>
>
> On Wed, Jan 10, 2018 at 11:49 PM, Imam Toufique <[email protected]>
> wrote:
> > Lukas,
> >
> > Sorry to keep on dragging this, I am confused here.  I will admit that I
> > have not had the time to read the documentation on this.  From what I was
> > able to read, I slapped togather this config to get me started.
> >
> > I am not sure exactly what the 'listen' part do.  From what I can
> gather, I
> > found this in the user documentation:
>
> Again please "Reply-All" so the mailing list remains CC'ed.
>
>
> The frontend and listen functionality overlap, they can do the same
> thing, with a slightly different syntax. You either use a frontend OR
> a listen section. You don't use both for the same exact purpose.
>
> The frontend is fine, just delete everything related to the listen
> section and that's it.
>
>
>
>
> Regards,
> Lukas
>



-- 
Regards,
*Imam Toufique*
*213-700-5485*

Reply via email to