File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ app_setup_nginx_reverse_proxy_block: ""
154154
155155# changelog
156156changelogs :
157+ - { date: "28.03.22:", desc: "created a logfile for fail2ban nginx-unauthorized in /etc/cont-init.d/50-config" }
157158 - { date: "09.01.22:", desc: "Added a fail2ban jail for nginx unauthorized" }
158159 - { date: "21.12.21:", desc: "Fixed issue with iptables not working as expected" }
159160 - { date: "30.11.21:", desc: "Move maxmind to a [new mod](https://github.com/linuxserver/docker-mods/tree/swag-maxmind)" }
Original file line number Diff line number Diff line change 366366 touch /config/log/nginx/error.log
367367[[ ! -f /config/log/nginx/access.log ]] && \
368368 touch /config/log/nginx/access.log
369+ [[ ! -f /config/log/nginx/unauthorized.log ]] && \
370+ touch /config/log/nginx/unauthorized.log
369371
370372# permissions
371373chown -R abc:abc \
You can’t perform that action at this time.
0 commit comments