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

Traffic control per subdomain

$
0
0

Hi guys
Currently, I have the following setup:

defaults
log global
mode http
retries 3
balance roundrobin
option abortonclose
option redispatch
contimeout 10000
clitimeout 150000
srvtimeout 300000
maxconn 500000

But I want to limit the number of simultaneous accesses per subdomain.
For example, say the limit is 500 active connections per subdomain:

a.mysite.com → 500 active connections
b.mysite.com → 500 active connections
c.mysite.com → 499 active connections

If someone tries to access either “a” or “b”, they won’t be allowed.
But it’s OK if someone tries to access “c”.

Thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



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