Open virusystem opened 8 years ago
You can use different sla_pool
's for different virtual hosts and add sla_pass
to own pool.
Good day. This is not what I meant. exaple: test1.local.conf upstream test1 { server 192.168.1.1:80; } sla_pool ..... /sla_status
test2.local.conf upstream test2 { server 192.168.1.2:80; }
when i go test1.local/sla_status i see servers 192.168.1.1 and 192.168.1.2, but i need see only 192.168.1.1
Thanks.
Hmm. Interesting. For what use-case you need it?
Good day.
We need collect statistic SLA for each domain (site) within the each server in upsteam.
In each config file (site) in directive
Thanks
Good day. Have some trouble. We have many virtual host (sites) in independent configs. /sla_status - collects statistics from whole server upstream, but we need collect statistic independently for each domain. nginx 1.8.0