From eb9812b0bb2c32e4ae2fac7fe9db09329aec9975 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Mon, 3 Dec 2018 18:37:21 +0100 Subject: Working on the "New Invasion" menu... --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/nginx.conf') 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; -- cgit v1.2.3-70-g09d2