refractor: linting and redundant docker layer
This commit is contained in:
parent
ab1331c80a
commit
a7efdbd8b8
2 changed files with 1 additions and 4 deletions
|
@ -33,5 +33,4 @@ RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends --no-install-suggests libmaxminddb0 \
|
&& apt-get install -y --no-install-recommends --no-install-suggests libmaxminddb0 \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& chmod -R 644 /usr/lib/nginx/modules/ngx_http_geoip2_module.so \
|
&& chmod -R 644 /usr/lib/nginx/modules/ngx_http_geoip2_module.so
|
||||||
&& sed -i '1iload_module \/usr\/lib\/nginx\/modules\/ngx_http_geoip2_module.so;' /etc/nginx/nginx.conf
|
|
|
@ -17,8 +17,6 @@ http {
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
#tcp_nopush on;
|
#tcp_nopush on;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue