Ea-nginx
Hi,
Is it possible to set rate_limit under nginx as it has own module? The idea is when adding new domain/subdomain domain, the rule auto write when it added.
Please advices.
-
Hey there! Were you looking for a configuration option like this:
to happen automatically when the site is created?
0 -
So i just need rule below in include.conf and it will applied all domain under cpanel?
limit_req_zone $binary_remote_addr zone=main-http:10m rate=32r/s;
limit_req zone=main-http burst=16 nodelay;0 -
I can't comment on the specific syntax of the rule, but you'd want to use the following steps to apply that change to all vhosts on the system: https://docs.cpanel.net/ea4/apache/modify-apache-virtual-hosts-with-include-files/#apply-to-all-virtual-hosts-on-the-system
0
Please sign in to leave a comment.
Comments
3 comments