Can you give us an example scenario?   Tell us the actual services you
want to use on the frontends and backends.  and how you would envision
your conditions to work?



On Thu, Sep 17, 2015 at 9:39 PM, Nitesh Kumar Gupta
<niteshgupta...@gmail.com> wrote:
> But how it will be conditional
> Mean suppose if I want anything that will access help that should go to TCP
> rest should work with normal http or HTTPS
> How can I configure this one
>
> On Sep 18, 2015 7:05 AM, "Jeff Palmer" <j...@palmerit.net> wrote:
>>
>> You can have haproxy listen in both http mode, and tcp mode.  You'll
>> just need to setup multiple frontends.
>>
>>
>> something like:
>>
>> frontend myhttpservice
>>   bind *:80
>>   mode http
>>   ...
>>
>>
>> frontend mytcpservice
>>   bind *:3306
>>   mode tcp
>>   ...
>>
>>
>>
>> If I misunderstood the request,  please feel free to post again, and
>> clarify what you are asking to have haproxy do.
>>
>>
>>
>> On Thu, Sep 17, 2015 at 9:13 PM, Nitesh Kumar Gupta
>> <niteshgupta...@gmail.com> wrote:
>> > Hi,
>> >
>> > I want to setup haproxy in way there that will work on both http and
>> > https
>> > and also tpc but that will be conditional mean if any perticular link
>> > will
>> > come that will go via tcp
>> >
>> > So can you help me how can i setup this
>> >
>> > --
>> > Regards
>> > Nitesh Kumar Gupta
>>
>>
>>
>> --
>> Jeff Palmer
>> https://PalmerIT.net



-- 
Jeff Palmer
https://PalmerIT.net

Reply via email to