This commit is contained in:
Dennis Postma 2025-02-09 03:41:10 +01:00
parent 1137c95ff3
commit 2d8c421ac6

View File

@ -61,15 +61,6 @@ noxious.gg {
Cache-Control "no-cache, must-revalidate"
}
# Rate limiting for API endpoints
@api {
path /api/*
}
rate_limit @api {
zone api_limit
rate 10r/s
}
# Handle errors
handle_errors {
respond "{http.error.status_code} {http.error.status_text}" {http.error.status_code}