Update nginx.conf

This commit is contained in:
VirtuBox 2017-12-16 01:42:45 +01:00 committed by GitHub
parent 63d0f7042b
commit 101c9ed588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ http {
reset_timedout_connection on;
add_header X-Powered-By "EasyEngine & Optimized by VirtuBox";
add_header rt-Fastcgi-Cache $upstream_cache_status;
# Limit Request
limit_req_status 403;
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
#Simple DOS mitigation
##Max c/s by ip