Skip to content

Commit 5d14b74

Browse files
committed
always enable real ip proxy protocol if enabled
1 parent 1e080c2 commit 5d14b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if enable_proxy_protocol == 1 or enable_proxy_protocol == true %}
22
{% if load_balancer_ip != '' %}
33
set_real_ip_from {{ load_balancer_ip }};
4-
real_ip_header proxy_protocol;
54
{% endif %}
6-
{% endif %}
5+
real_ip_header proxy_protocol;
6+
{% endif %}

0 commit comments

Comments
 (0)