Add fail2ban to stop these malicious ips ;-;
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
2026-03-09 14:18:01 +00:00
parent 8e50537333
commit 61366e4039
9 changed files with 59 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ COPY nginx.conf.template /etc/nginx/nginx.conf.template
COPY nginx_setup.conf.template /etc/nginx/nginx_setup.conf.template
COPY nginx_dev.conf.template /etc/nginx/nginx_dev.conf.template
COPY robots.txt /etc/nginx/html/robots.txt
# Remove default symlinks so logs write to real files on the shared volume
RUN unlink /var/log/nginx/access.log && unlink /var/log/nginx/error.log
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]