Hello there,
I’m running Caddy in docker on my private server and my docker log for the container is crippled with:
2017/03/14 08:11:36 [INFO] audiofreeonline.com - No such site at :80 (Remote: 85.175.73.177, Referer: )
2017/03/14 08:11:41 [INFO] audiofreeonline.com - No such site at :80 (Remote: 94.25.23.18, Referer: )
2017/03/14 08:11:50 [INFO] audiofreeonline.com - No such site at :80 (Remote: 212.107.200.194, Referer: )
2017/03/14 08:11:51 [INFO] audiofreeonline.com - No such site at :80 (Remote: 195.110.52.25, Referer: )
2017/03/14 08:11:57 [INFO] audiofreeonline.com - No such site at :80 (Remote: 91.199.224.121, Referer: )
2017/03/14 08:12:01 [INFO] audiofreeonline.com - No such site at :80 (Remote: 91.240.120.254, Referer: )
2017/03/14 08:12:09 [INFO] audiofreeonline.com - No such site at :80 (Remote: 77.82.236.107, Referer: )
2017/03/14 08:12:09 [INFO] audiofreeonline.com - No such site at :80 (Remote: 77.87.114.80, Referer: )
2017/03/14 08:12:15 [INFO] audiofreeonline.com - No such site at :80 (Remote: 212.220.207.4, Referer: )
2017/03/14 08:12:16 [INFO] audiofreeonline.com - No such site at :80 (Remote: 5.143.232.170, Referer: )
2017/03/14 08:12:37 [INFO] audiofreeonline.com - No such site at :80 (Remote: 31.130.113.143, Referer: )
2017/03/14 08:12:41 [INFO] audiofreeonline.com - No such site at :80 (Remote: 5.101.34.3, Referer: )
2017/03/14 08:12:44 [INFO] audiofreeonline.com - No such site at :80 (Remote: 91.234.108.27, Referer: )
2017/03/14 08:12:45 [INFO] audiofreeonline.com - No such site at :80 (Remote: 91.224.138.26, Referer: )
2017/03/14 08:12:47 [INFO] audiofreeonline.com - No such site at :80 (Remote: 62.177.43.172, Referer: )
2017/03/14 08:12:51 [INFO] audiofreeonline.com - No such site at :80 (Remote: 195.162.22.21, Referer: )
2017/03/14 08:12:55 [INFO] audiofreeonline.com - No such site at :80 (Remote: 195.80.144.4, Referer: )
2017/03/14 08:13:01 [INFO] audiofreeonline.com - No such site at :80 (Remote: 46.174.194.118, Referer: )
2017/03/14 08:13:03 [INFO] audiofreeonline.com - No such site at :80 (Remote: 85.175.73.177, Referer: )
2017/03/14 08:13:11 [INFO] audiofreeonline.com - No such site at :80 (Remote: 94.233.46.24, Referer: )
2017/03/14 08:13:15 [INFO] audiofreeonline.com - No such site at :80 (Remote: 95.53.251.61, Referer: )
Now, I’m using Caddy as a reverse proxy and I would like to get rid of those. I tried to put a log
directive at the top of my Caddyfile but it didn’t work. Is there a way to define a default loging behaviour and then override it in each site configuration? Or do I have to create a site configuration for audiofreeonline.com and put the log elsewhere, ideally feeding it to fail2ban?