add promtail and geoip support
This commit is contained in:
parent
08c567f7af
commit
e71de82cdf
5 changed files with 60 additions and 0 deletions
|
|
@ -3,3 +3,9 @@ set_real_ip_from {{ ip }};
|
|||
{% endfor %}
|
||||
real_ip_header {{ nginx.real_ip_header }};
|
||||
real_ip_recursive on;
|
||||
|
||||
|
||||
{% for ip in nginx.real_ip_from %}
|
||||
geoip_proxy {{ ip }};
|
||||
{% endfor %}
|
||||
geoip_proxy_recursive on;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue