summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-12-03 18:37:21 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-12-03 18:37:21 +0100
commiteb9812b0bb2c32e4ae2fac7fe9db09329aec9975 (patch)
tree7013a8b6aa3385d8ee287a1a34190603d2cc8c89 /conf/nginx.conf
parentd5e25e0b95aef3ce8e707d3ed04dcd1b0447cedb (diff)
Working on the "New Invasion" menu...
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf3
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;