forked from noxious/client
ah
This commit is contained in:
parent
1137c95ff3
commit
2d8c421ac6
@ -61,15 +61,6 @@ noxious.gg {
|
|||||||
Cache-Control "no-cache, must-revalidate"
|
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
|
||||||
handle_errors {
|
handle_errors {
|
||||||
respond "{http.error.status_code} {http.error.status_text}" {http.error.status_code}
|
respond "{http.error.status_code} {http.error.status_text}" {http.error.status_code}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user