Skip to content

Commit 144a456

Browse files
committed
Revert "Added support to automatically update the geoip database."
This reverts commit 0615e6e.
1 parent 7eab98e commit 144a456

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ RUN \
146146
make install && \
147147
find /var/lib/nginx/ -type f -name '*.so*' -exec strip {} ';' && \
148148
strip /usr/sbin/nginx && \
149-
ln -s /config/geoip2 /var/lib/GeoIP2 && \
150149
cd .. && \
151150
# Cleanup.
152151
del-pkg build-dependencies && \
@@ -188,8 +187,6 @@ RUN \
188187
bash \
189188
# For openresty
190189
pcre \
191-
# For GeoIP2 database update
192-
curl \
193190
&& \
194191
# Adjust the logrotate config file.
195192
sed-patch 's|^/var/log/messages|#/var/log/messages|' /etc/logrotate.conf
@@ -358,9 +355,7 @@ COPY rootfs/ /
358355
# Set environment variables.
359356
ENV APP_NAME="Nginx Proxy Manager" \
360357
KEEP_APP_RUNNING=1 \
361-
DISABLE_IPV6=0 \
362-
MAXMINDDB_EDITION=GeoLite2-Country \
363-
MAXMINDDB_LICENSE_KEY=
358+
DISABLE_IPV6=0
364359

365360
# Define mountable directories.
366361
VOLUME ["/config"]

rootfs/etc/cont-init.d/nginx-proxy-manager.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ mkdir -p \
2424
/config/nginx/temp \
2525
/config/log/letsencrypt \
2626
/config/letsencrypt-workdir \
27-
/config/geoip2 \
2827

2928
# Make sure to remove old logs directory symlink.
3029
[ ! -L /config/logs ] || rm /config/logs

0 commit comments

Comments
 (0)