GeoIP2 auto_reload

This commit is contained in:
Alex Kotov 2023-08-30 17:25:39 +04:00
parent f99c2fc0bc
commit 9d4a1da53b
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ geoip_city {{ nginx__geoip_city }};
{% for geoip2 in nginx__geoip2 %}
geoip2 {{ geoip2.file }} {
{% if geoip2.auto_reload %}
auto_reload {{ geoip2.auto_reload }};
{% endif %}
{% for map in geoip2.maps %}
${{ map.var }} {{ map.path }};
{% endfor %}