Skip to content

Commit

Permalink
feat: add geolitle2 country maxmind db
Browse files Browse the repository at this point in the history
  • Loading branch information
ehh-why-its-so-hard committed Nov 15, 2024
1 parent ea84f30 commit a2c09e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/vega_caddy_server/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,12 @@
mode: "0644"
when: vega_caddy_server_with_block_explorer_lb and vega_caddy_server_block_explorer_lb_domains | length > 0
notify: "Restart caddy"

- name: Copy the Maxmind database
ansible.builtin.template:
src: "etc/caddy/GeoLite2-Country.mmdb"
dest: "/etc/caddy/GeoLite2-Country.mmdb"
owner: "caddy"
group: "caddy"
mode: "0644"
notify: "Restart caddy"
Binary file not shown.

0 comments on commit a2c09e9

Please sign in to comment.