{% for ip in nginx.real_ip_from %} set_real_ip_from {{ ip }}; {% endfor %} real_ip_header X-Forwarded-For; real_ip_recursive on;