forked from mirrors/nixpkgs
5ca89402ee
Using builtins.readFile to load upstream defaults is a clever trick, but it's not allowed in restricted evaluation mode: which means it fails on Hydra, for example. Besides - in Nixpkgs - depending on derivation as inputs is considered bad practice and should be avoided.
37 lines
564 B
JSON
37 lines
564 B
JSON
{
|
|
"ip_allow": [
|
|
{
|
|
"apply": "in",
|
|
"ip_addrs": "127.0.0.1",
|
|
"action": "allow",
|
|
"methods": "ALL"
|
|
},
|
|
{
|
|
"apply": "in",
|
|
"ip_addrs": "::1",
|
|
"action": "allow",
|
|
"methods": "ALL"
|
|
},
|
|
{
|
|
"apply": "in",
|
|
"ip_addrs": "0/0",
|
|
"action": "deny",
|
|
"methods": [
|
|
"PURGE",
|
|
"PUSH",
|
|
"DELETE"
|
|
]
|
|
},
|
|
{
|
|
"apply": "in",
|
|
"ip_addrs": "::/0",
|
|
"action": "deny",
|
|
"methods": [
|
|
"PURGE",
|
|
"PUSH",
|
|
"DELETE"
|
|
]
|
|
}
|
|
]
|
|
}
|