https://github.com/digilolnet/caddy-bunny-ip
Caddy module that retrieves Bunny.net Edge IPs for use in Caddy trusted_proxies directives.
https://github.com/digilolnet/caddy-bunny-ip
bunny bunnycdn caddy caddy-module caddy-plugin digilol
Last synced: 3 months ago
JSON representation
Caddy module that retrieves Bunny.net Edge IPs for use in Caddy trusted_proxies directives.
- Host: GitHub
- URL: https://github.com/digilolnet/caddy-bunny-ip
- Owner: digilolnet
- License: apache-2.0
- Created: 2023-11-30T00:59:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-30T01:01:10.000Z (over 1 year ago)
- Last Synced: 2025-01-16T07:57:22.493Z (4 months ago)
- Topics: bunny, bunnycdn, caddy, caddy-module, caddy-plugin, digilol
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Bunny.net Edge IP source module for Caddy
> Retrieves Bunny.net Edge IPs for use in Caddy `trusted_proxies` directives.
[](https://goreportcard.com/report/github.com/digilolnet/caddy-bunny-ip)
[](https://godoc.org/github.com/digilolnet/caddy-bunny-ip)
[](https://github.com/digilolnet/caddy-bunny-ip/blob/master/LICENSE.txt)
[](https://github.com/stnby)## Caddy module name
```
http.ip_sources.bunny
```## Config example
Put following config in global options under corresponding server options:
```
trusted_proxies bunny {
interval 12h
timeout 15s
}
```## License
This project is licensed under the Apache License, Version 2.0 - see the [LICENSE.txt](https://github.com/digilolnet/caddy-bunny-ip/blob/master/LICENSE.txt) file for details.This project is based on [caddy-cloudflare-ip](https://github.com/WeidiDeng/caddy-cloudflare-ip) module. Thanks [WeidiDeng](https://github.com/WeidiDeng) for your hard work.