chamges
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
upstream rspamd {
|
||||
zone rspamd 1m;
|
||||
server 127.0.0.1:11334;
|
||||
keepalive 16;
|
||||
}
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=rspamd_limit:10m rate=10r/s;
|
||||
|
||||
server {
|
||||
@@ -14,7 +20,7 @@ server {
|
||||
include config/wildcard.conf;
|
||||
|
||||
# security
|
||||
include config/security.conf;
|
||||
#include config/security.conf;
|
||||
|
||||
status_zone rspamd.linuxiarz.pl;
|
||||
limit_req zone=rspamd_limit burst=20 nodelay;
|
||||
@@ -29,12 +35,12 @@ server {
|
||||
error_log off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:11334/;
|
||||
proxy_pass http://rspamd/;
|
||||
include config/proxy.conf;
|
||||
}
|
||||
|
||||
# additional config
|
||||
# include config/general.conf;
|
||||
# include config/general.conf;
|
||||
}
|
||||
|
||||
# HTTP redirect
|
||||
|
||||
Reference in New Issue
Block a user