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

Configure a resolver for the mail server to populate xclient hostnames

This commit is contained in:
kaiyou 2017-12-04 20:28:54 +01:00
parent 2e4a9e21f8
commit 48d736feef

View File

@ -141,6 +141,7 @@ 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;
{% if TLS and not TLS_ERROR %}
include /etc/nginx/tls.conf;