| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/nginx.conf | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/conf/nginx.conf b/conf/nginx.conf index f112ff2..afafbd5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -42,6 +42,8 @@ http {     index index.html; +   limit_conn_zone $binary_remote_addr zone=addr:10m; +     ## Local tests     server {  #      listen 127.0.0.1; @@ -58,6 +60,7 @@ http {        }        location /handler/ { +         limit_conn addr 1;           proxy_set_header Host $host;           proxy_set_header X-Real-IP $remote_addr;           proxy_pass http://127.0.0.1:8000; | 


