Nginx blacklist
This commit is contained in:
parent
141e3b0b26
commit
5f2940f575
|
@ -61,4 +61,6 @@ RUN /opt/startup.sh
|
||||||
|
|
||||||
# Execute Startup script when container starts
|
# Execute Startup script when container starts
|
||||||
|
|
||||||
|
VOLUME [ "/opt/nginx" ]
|
||||||
|
|
||||||
CMD [ "/opt/run.sh" ]
|
CMD [ "/opt/run.sh" ]
|
||||||
|
|
|
@ -13,5 +13,7 @@ server {
|
||||||
location / {
|
location / {
|
||||||
autoindex on;
|
autoindex on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /opt/nginx/*.conf;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
location ~ (telnet|ftp) {
|
||||||
|
return 404;
|
||||||
|
}
|
Loading…
Reference in New Issue