Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 9b2e3c1

Browse files
authored
Disable geoip2 db download (#393)
Disable geoip2 db download
2 parents 71266ab + 3b31566 commit 9b2e3c1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
283283

284284
## Versions
285285

286+
* **31.12.19:** - GeoIP2 databases now require personal license keys to download. Auto download is disabled and log message is added.
286287
* **19.12.19:** - Rebasing to alpine 3.11.
287288
* **19.12.19:** - Increase large_client_header_buffers in nginx.conf to prevent 414 errors.
288289
* **18.12.19:** - Add php7-imap and php7-pecl-apcu.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ app_setup_nginx_reverse_proxy_block: ""
126126

127127
# changelog
128128
changelogs:
129+
- { date: "31.12.19:", desc: "GeoIP2 databases now require personal license keys to download. Auto download is disabled and log message is added." }
129130
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
130131
- { date: "19.12.19:", desc: "Increase large_client_header_buffers in nginx.conf to prevent 414 errors." }
131132
- { date: "18.12.19:", desc: "Add php7-imap and php7-pecl-apcu." }

root/etc/cont-init.d/50-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,7 @@ fi
265265
ln -s /config/geoip2db /var/lib/libmaxminddb
266266
# check GeoIP2 database
267267
[[ ! -f /var/lib/libmaxminddb/GeoLite2-City.mmdb ]] && \
268-
echo "creating GeoIP2 database" && \
269-
/etc/periodic/weekly/libmaxminddb
268+
echo "Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please manually download/update the GeoIP2 db and save as /config/geoip2db/GeoLite2-City.mmdb"
270269

271270
# logfiles needed by fail2ban
272271
[[ ! -f /config/log/nginx/error.log ]] && \

0 commit comments

Comments
 (0)