{% endif%} include {{ server['@uuid'] }}_post/*.conf; }{% endfor %}{% endif %}
{% if server.listen_port is defined %} listen {{ server.listen_port }}{% if server.udp is defined and server.udp == '1' %} udp{% endif %}{% if tls_enabled %} ssl{% endif %}{% if server.proxy_protocol is defined and server.proxy_protocol == '1' %} proxy_protocol{% endif %}; listen [::]:{{ server.listen_port }}{% if server.udp is defined and server.udp == '1' %} udp{% endif %}{% if tls_enabled %} ssl{% endif %}{% if server.proxy_protocol is defined and server.proxy_protocol == '1' %} proxy_protocol{% endif %};{% endif %}
proxy_protocol {% if server.proxy_protocol == '1' %}on{% else %}off{% endif %};
{% if server.proxy_protocol is defined and server.proxy_protocol == '1' %} proxy_protocol on;{% endif %}
include {{ server['@uuid'] }}_post/*.conf;
/usr/local/etc/enginx/nginx.conf
server { listen 143; listen [::]:143; access_log /var/log/nginx/stream_1ef25291-7e82-4e66-a677-a4629270ff87.access.log main; error_log /var/log/nginx/stream_1ef25291-7e82-4e66-a677-a4629270ff87.error.log info; proxy_ssl off; proxy_pass upstream3605708c54c0460ca656e8fbaeadabb9;# proxy_protocol off; include 1ef25291-7e82-4e66-a677-a4629270ff87_post/*.conf; ---> UUID here!
/usr/local/etc/enginx/
proxy_protocol on;