From da7c9839c51b03f69152e491c3c8cf1a8936f97c Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Sun, 13 Oct 2019 20:24:39 +0200 Subject: Cleanup of nginx config and blocked some scanning server --- compose/nginx/Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'compose/nginx/Dockerfile') diff --git a/compose/nginx/Dockerfile b/compose/nginx/Dockerfile index fcca1df..ea6be25 100644 --- a/compose/nginx/Dockerfile +++ b/compose/nginx/Dockerfile @@ -1,4 +1,12 @@ -FROM nginx:1.15.8-alpine +FROM nginx:alpine +RUN rm /etc/nginx/fastcgi.conf \ + /etc/nginx/fastcgi_params \ + /etc/nginx/scgi_params \ + /etc/nginx/uwsgi_params \ + /etc/nginx/koi-utf \ + /etc/nginx/koi-win \ + /etc/nginx/win-utf COPY static-html /usr/share/nginx/html COPY conf.d /etc/nginx/conf.d -COPY nginx.conf /etc/nginx/nginx.conf +COPY nginx.conf /etc/nginx/ +COPY blockIps.conf /etc/nginx/ -- cgit 1.4.1