fixed x-forwarded-for
This commit is contained in:
parent
977ba57da9
commit
773f2339e8
2 changed files with 8 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue