feature/streams-configuration (#1)

Reviewed-on: #1
This commit is contained in:
2024-03-30 20:14:49 +00:00
parent 937d8816f6
commit 705a62d2fb
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -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;
} }