search

Home  >  Q&A  >  body text

nginx - virtual host traffic detection

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?

伊谢尔伦伊谢尔伦2790 days ago597

reply all(2)I'll reply

  • PHPz

    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.

    reply
    0
  • 迷茫

    迷茫2017-05-16 17:06:16

    You can check the mod and there should be corresponding modules

    reply
    0
  • Cancelreply