blob: 50ba93d253a4753719d63c380f90ee093fd9b4db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: Configure the geoip module
copy:
# ref https://nginx.org/en/docs/http/ngx_http_geoip_module.html
content: geoip_country /usr/share/GeoIP/GeoIP.dat;
dest: /etc/nginx/conf.d/geoip.conf
owner: root
group: root
mode: "0444"
tags:
- role::nginx-geoip
notify:
- reload the nginx service
|