Bandwidth count for a proxy (nginx/varnish)

Yossi

Member
Sep 12, 2015
18
0
1
Israel
cPanel Access Level
Root Administrator
Hey,

I am using Varnish as a web proxy on a server, and it seems that the bandwidth isn't counted by CPanel towards the domains' limit.
Now that is logical, since this is a proxy layer which doesn't speak with the WHM.

I found a workaround, but it seems that the workout isn't available anymore..:
cPanel Bandwidth problem solution | Maateen

How does CPanel calculate bandwidth nowadays?
How can I affect the number CPanel keeps?

Thanks a lot,
Yossi
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello,

You may want to consider configuring/installing third-party applications such as Varnish or Nginx via an installer plugin that addresses the Apache logging configuration changes required when using such applications. For example:

GitHub - engintron/engintron: Engintron for cPanel/WHM

Thank you.