Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Alex Kotov | 8677fabf60 | |
Alex Kotov | da39b240d1 |
|
@ -5,6 +5,7 @@
|
|||
name:
|
||||
- libnginx-mod-http-geoip
|
||||
- libnginx-mod-http-geoip2
|
||||
- libnginx-mod-stream
|
||||
- nginx
|
||||
|
||||
- name: Create directories for Nginx configuration
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
name:
|
||||
- libnginx-mod-http-geoip
|
||||
- libnginx-mod-http-geoip2
|
||||
- libnginx-mod-stream
|
||||
- nginx
|
||||
- nginx-common
|
||||
- nginx-core
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
name:
|
||||
- libnginx-mod-http-geoip
|
||||
- libnginx-mod-http-geoip2
|
||||
- libnginx-mod-stream
|
||||
- nginx
|
||||
- nginx-common
|
||||
- nginx-core
|
||||
|
|
|
@ -11,7 +11,7 @@ geoip_city {{ nginx__geoip_city }};
|
|||
{% for geoip2 in nginx__geoip2 %}
|
||||
|
||||
geoip2 {{ geoip2.file }} {
|
||||
{% if geoip2.auto_reload %}
|
||||
{% if geoip2.auto_reload | default(False) %}
|
||||
auto_reload {{ geoip2.auto_reload }};
|
||||
{% endif %}
|
||||
{% for map in geoip2.maps %}
|
||||
|
|
Loading…
Reference in New Issue