diff --git a/mailu3/stack.env b/mailu3/stack.env index 9e1e9bc..5880e8e 100755 --- a/mailu3/stack.env +++ b/mailu3/stack.env @@ -141,10 +141,10 @@ COMPOSE_PROJECT_NAME=mailu CREDENTIAL_ROUNDS=12 # Header to take the real ip from -REAL_IP_HEADER=X-Real-IP - +# REAL_IP_HEADER=X-Real-IP +REAL_IP_HEADER=X-Forwarded-For # IPs for nginx set_real_ip_from (CIDR list separated by commas) -REAL_IP_FROM=192.168.77.101,192.168.77.106 +REAL_IP_FROM=172.0.0.0/8 # choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no) REJECT_UNLISTED_RECIPIENT=