mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-17 06:16:57 +00:00
PROXY Protocol support implementation
This commit is contained in:
6
backend/templates/_proxy_protocol.conf
Normal file
6
backend/templates/_proxy_protocol.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
{% if enable_proxy_protocol == 1 or enable_proxy_protocol == true %}
|
||||
{% if load_balancer_ip != '' %}
|
||||
set_real_ip_from {{ load_balancer_ip }};
|
||||
real_ip_header proxy_protocol;
|
||||
{% endif %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user