easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

limit_req_zone failed

Open manishsongirkar opened this issue 13 years ago • 1 comments

@MiteshShah

Restarting nginx: nginx: [emerg] unknown limit_req_zone "one" in /etc/nginx/common/wpcommon.conf:6
nginx: configuration file /etc/nginx/nginx.conf test failed

manishsongirkar avatar Oct 01 '13 09:10 manishsongirkar

@manishsongirkar

Its seems like you are using non stable easyengine Add following lines in /etc/nginx/nginx.conf

# Limit Request
limit_req_status 403;
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;

MiteshShah avatar Oct 01 '13 10:10 MiteshShah