0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-17 23:45:36 -05:00
zot/examples/config-ratelimit.json
Ramkumar Chinchani ececc9c2c9
docs: fix ratelimit example (#2905)
Some fields are mixed case which is inconsistent with the rest of
example configs.

Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
2025-01-22 09:17:01 -08:00

23 lines
450 B
JSON

{
"distSpecVersion": "1.1.0",
"storage": {
"rootDirectory": "/tmp/zot"
},
"http": {
"address": "127.0.0.1",
"port": "8080",
"ratelimit": {
"rate": 10,
"methods": [
{
"method": "GET",
"rate": 5
}
]
}
},
"log": {
"level": "debug",
"output": "/tmp/zot.log"
}
}