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
|
||||
|
||||
VOLUME [ "/opt/nginx" ]
|
||||
|
||||
CMD [ "/opt/run.sh" ]
|
||||
|
@ -13,5 +13,7 @@ server {
|
||||
location / {
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
include /opt/nginx/*.conf;
|
||||
}
|
||||
EOF
|
||||
|
3
assets/nginx/blacklist.conf
Normal file
3
assets/nginx/blacklist.conf
Normal file
@ -0,0 +1,3 @@
|
||||
location ~ (telnet|ftp) {
|
||||
return 404;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user