mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
15 lines
289 B
Go
15 lines
289 B
Go
|
package internal
|
||
|
|
||
|
// PrivateRangesCIDR returns a list of private CIDR range
|
||
|
// strings, which can be used as a configuration shortcut.
|
||
|
func PrivateRangesCIDR() []string {
|
||
|
return []string{
|
||
|
"192.168.0.0/16",
|
||
|
"172.16.0.0/12",
|
||
|
"10.0.0.0/8",
|
||
|
"127.0.0.1/8",
|
||
|
"fd00::/8",
|
||
|
"::1",
|
||
|
}
|
||
|
}
|