If there are many domain name-based virtual hosts under apache and nginx. How to monitor the traffic and number of connections of each virtual host?
If you don’t pass the log, is there any good way?
PHPz2017-05-16 17:06:16
No way, unless you write your own module to count. Apache does not know whether there is a similar functional module, and nginx does not have such a functional module to the best of its knowledge.