fixed x-forwarded-for

This commit is contained in:
nd 2019-07-14 14:51:19 +02:00
parent 977ba57da9
commit 773f2339e8
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,5 @@
{% for ip in nginx.real_ip_from %}
set_real_ip_from {{ ip }};
set_real_ip_from {{ ip }};
{% endfor %}
real_ip_header X-Forwarded-For;
real_ip_header X-Forwarded-For;
real_ip_recursive on;