From a7efdbd8b8d208eee571d1aae8b07243c8954f6d Mon Sep 17 00:00:00 2001 From: by-sabbir Date: Mon, 4 Apr 2022 03:53:29 +0600 Subject: [PATCH] refractor: linting and redundant docker layer --- Dockerfile | 3 +-- conf/nginx.conf | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e241ce0..31c0407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,4 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends --no-install-suggests libmaxminddb0 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ - && 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 + && chmod -R 644 /usr/lib/nginx/modules/ngx_http_geoip2_module.so \ No newline at end of file diff --git a/conf/nginx.conf b/conf/nginx.conf index ceb50d2..7eb38a1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,8 +17,6 @@ http { default_type application/octet-stream; include /etc/nginx/conf.d/*.conf; - - sendfile on; #tcp_nopush on;