fix:#19 updated limit req status for createFeed

This commit is contained in:
Elmar Kresse
2024-02-21 02:41:30 +01:00
parent 8f17671bed
commit b481f5d94b

View File

@ -160,13 +160,15 @@ http {
}
location /api/createFeed {
limit_req zone=createFeed nodelay;
# return limit request error
limit_req_status 429;
proxy_pass http://htwkalender-backend:8090;
client_max_body_size 2m;
proxy_connect_timeout 600s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
send_timeout 600s;
limit_req zone=createFeed burst=1 nodelay;
}
location /_ {