This commit is contained in:
Márcio Fernandes committed 2024-03-18 11:48:19 +00:00
1 parent 76c15e73ad
commit 60f81f633e
3 files changed
+66

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#tag nginx-geoip
FROM nginx
COPY nginx-geoip.conf /etc/nginx/nginx.conf
RUN curl -O https://dl.miyuru.lk/geoip/dbip/country/dbip.dat.gz
RUN mv dbip.dat.gz country.dat.gz
RUN gzip -d country.dat.gz
RUN cp country.dat /etc/nginx/dbip-country.dat
RUN curl -O https://dl.miyuru.lk/geoip/dbip/city/dbip.dat.gz
RUN mv dbip.dat.gz city.dat.gz
RUN gzip -d city.dat.gz
RUN cp city.dat /etc/nginx/dbip-city.dat