mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-21 00:17:38 +00:00
add PROXY to stream hosts.
This commit is contained in:
5
backend/templates/_stream_proxy_protocol.conf
Normal file
5
backend/templates/_stream_proxy_protocol.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
{%if stream_allow_proxy_protocol == 1 or stream_allow_proxy_protocol == true %}
|
||||
{% if stream_load_balancer_ip != '' %}
|
||||
set_real_ip_from {{ stream_load_balancer_ip }};
|
||||
{% endif %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user