diff options
author | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2019-10-13 20:24:39 +0200 |
---|---|---|
committer | Paweł Dybiec <pdybiec@stud.cs.uni.wroc.pl> | 2019-10-13 20:24:39 +0200 |
commit | da7c9839c51b03f69152e491c3c8cf1a8936f97c (patch) | |
tree | a1adbe5d5b1e08db3cde308564c9a0a1dc8190f4 /compose/nginx/Dockerfile | |
parent | Added config for quick sharing of local files (diff) |
Cleanup of nginx config and blocked some scanning server
Diffstat (limited to 'compose/nginx/Dockerfile')
-rw-r--r-- | compose/nginx/Dockerfile | 12 |
1 files changed, 10 insertions, 2 deletions
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/ |