2027: Make logs more quiet r=mergify[bot] a=nextgens ## What type of PR? enhancement ## What does this PR do? It silences various useless log messages in front, specifically: ``` Oct 30 03:11:04 instance-20210109-1612 docker-front[1963]: 127.0.0.1 - - [30/Oct/2021:03:11:04 +0000] "GET /health HTTP/1.1" 301 162 "-" "curl/7.78.0" Oct 30 03:11:04 instance-20210109-1612 docker-front[1963]: 127.0.0.1 - - [30/Oct/2021:03:11:04 +0000] "GET /health HTTP/2.0" 204 0 "-" "curl/7.78.0" Oct 30 03:11:04 instance-20210109-1612 docker-front[1963]: 2021/10/30 03:11:04 [info] 476302#476302: *2622679 client 127.0.0.1 closed keepalive connection Oct 30 03:13:02 instance-20210109-1612 docker-front[1963]: 127.0.0.1 - - [30/Oct/2021:03:13:02 +0000] "GET /auth/email HTTP/1.0" 200 0 "-" "-" ``` `@micw` has requested it for k8s 2030: Fix RELAYNETS r=mergify[bot] a=nextgens ## What type of PR? bug-fix ## What does this PR do? RELAYNETS should be comma separated like everything else; rspamd should also be aware of what is considered "trusted". I am not sure whether ```local_networks``` is the right configuration option for it though - close #360 Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>master
commit
e52a3de1b0
@ -0,0 +1,3 @@
|
||||
{% if RELAYNETS %}
|
||||
local_networks = [{{ RELAYNETS }}];
|
||||
{% endif %}
|
@ -0,0 +1 @@
|
||||
RELAYNETS should be a comma separated list of networks
|
Loading…
Reference in New Issue