File tree 3 files changed +9
-0
lines changed
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,15 @@ RUN set -x \
115
115
&& export NGX_BROTLI_STATIC_MODULE_ONLY=1 \
116
116
&& cd /tmp \
117
117
&& git clone https://github.com/nbs-system/naxsi.git \
118
+ && echo 'adding /usr/local/share/GeoIP/GeoIP.dat database' \
119
+ && wget -N https://raw.githubusercontent.com/openbridge/nginx/master/geoip/GeoLiteCity.dat.gz \
120
+ && wget -N https://raw.githubusercontent.com/openbridge/nginx/master/geoip/GeoIP.dat.gz \
121
+ && gzip -d GeoIP.dat.gz \
122
+ && gzip -d GeoLiteCity.dat.gz \
123
+ && mkdir /usr/local/share/GeoIP/ \
124
+ && mv GeoIP.dat /usr/local/share/GeoIP/ \
125
+ && mv GeoLiteCity.dat /usr/local/share/GeoIP/ \
126
+ && chown -R www-data:www-data /usr/local/share/GeoIP/ \
118
127
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
119
128
&& mkdir -p /usr/src \
120
129
&& tar -zxC /usr/src -f nginx.tar.gz \
You can’t perform that action at this time.
0 commit comments