Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 10, 23:45 UTC
| 1 | package internal |
| 2 | |
| 3 | // PrivateRangesCIDR returns a list of private CIDR range |
| 4 | // strings, which can be used as a configuration shortcut. |
| 5 | func PrivateRangesCIDR() []string { |
| 6 | return []string{ |
| 7 | "192.168.0.0/16", |
| 8 | "172.16.0.0/12", |
| 9 | "10.0.0.0/8", |
| 10 | "127.0.0.1/8", |
| 11 | "fd00::/8", |
| 12 | "::1", |
| 13 | } |
| 14 | } |