GeoIP2 auto_reload default

This commit is contained in:
Alex Kotov 2023-08-30 17:32:15 +04:00
parent 9d4a1da53b
commit da39b240d1
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -11,7 +11,7 @@ geoip_city {{ nginx__geoip_city }};
{% for geoip2 in nginx__geoip2 %} {% for geoip2 in nginx__geoip2 %}
geoip2 {{ geoip2.file }} { geoip2 {{ geoip2.file }} {
{% if geoip2.auto_reload %} {% if geoip2.auto_reload | default(False) %}
auto_reload {{ geoip2.auto_reload }}; auto_reload {{ geoip2.auto_reload }};
{% endif %} {% endif %}
{% for map in geoip2.maps %} {% for map in geoip2.maps %}