1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-02 23:17:26 +02:00

Silence some errors in nginx

"could not be resolved (3: Host not found) while in resolving client
address, client:"
This commit is contained in:
Florent Daigniere 2022-05-13 18:05:22 +02:00
parent e86412453a
commit cb656fc9fd
2 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,6 @@ mail {
server_name {{ HOSTNAMES.split(",")[0] }};
auth_http http://127.0.0.1:8000/auth/email;
proxy_pass_error_message on;
resolver {{ RESOLVER }} valid=30s;
error_log /dev/stderr info;
{% if TLS and not TLS_ERROR %}

View File

@ -0,0 +1 @@
Disable the built-in nginx resolver for traffic going through the mail plugin. This will silence errors about DNS resolution when the connecting host has no rDNS.