@@ -13,4 +13,7 @@ RUN cp country.dat /etc/nginx/dbip-country.dat
|
|||||||
RUN curl -O https://dl.miyuru.lk/geoip/dbip/city/dbip.dat.gz
|
RUN curl -O https://dl.miyuru.lk/geoip/dbip/city/dbip.dat.gz
|
||||||
RUN mv dbip.dat.gz city.dat.gz
|
RUN mv dbip.dat.gz city.dat.gz
|
||||||
RUN gzip -d city.dat.gz
|
RUN gzip -d city.dat.gz
|
||||||
RUN cp city.dat /etc/nginx/dbip-city.dat
|
RUN cp city.dat /etc/nginx/dbip-city.dat
|
||||||
|
|
||||||
|
RUN /etc/nginx/conf.d/streams
|
||||||
|
RUN /etc/nginx/conf.d/sites
|
||||||
@@ -28,5 +28,9 @@ http {
|
|||||||
|
|
||||||
#gzip on;
|
#gzip on;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/sites/*.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
stream {
|
||||||
|
include /etc/nginx/conf.d/streams/*.conf;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user