Nginx blacklist

This commit is contained in:
Andrey Volkov 2018-10-19 18:44:20 +00:00
parent 141e3b0b26
commit 5f2940f575
3 changed files with 7 additions and 0 deletions

View File

@ -61,4 +61,6 @@ RUN /opt/startup.sh
# Execute Startup script when container starts
VOLUME [ "/opt/nginx" ]
CMD [ "/opt/run.sh" ]

View File

@ -13,5 +13,7 @@ server {
location / {
autoindex on;
}
include /opt/nginx/*.conf;
}
EOF

View File

@ -0,0 +1,3 @@
location ~ (telnet|ftp) {
return 404;
}