roll_size10MB # Create new file when size exceeds 10MB
roll_keep5 # Keep at most 5 rolled files
roll_keep_for336h # Delete files older than 14 days
roll_uncompressed
}
}
}
ryuu.inwww.ryuu.in{
import logging
route{
crowdsec
}
redirhttps://git.ryuu.in/ryuupendragonpermanent
}
*.ryuu.in{
import logging
@ahosta.ryuu.in
handle@a{
route{
crowdsec
}
reverse_proxyip:port
}
@bhostb.ryuu.in
handle@b{
route{
crowdsec
}
reverse_proxyip:port
}
# Fallback for otherwise unhandled domains
handle{
route{
crowdsec
}
abort
}
}
```
**Disclaimer**: Some inspirations were taken from [serfriz](https://github.com/serfriz/caddy-custom-builds)'s custom caddy builds for folder structure, parsing caddy version from Dockerfile, and readme. No code has been directly copied unless otherwise specified. This project is not affiliated with or endorsed by serfriz.