Skip to content

Commit

Permalink
Change nginx rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jensjeflensje committed Jan 3, 2024
1 parent bc46266 commit 30ac3f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci-cd/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ http {

location /api/assets/create {
limit_req zone=create_limit;

proxy_pass http://backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}

location /api {
Expand Down

0 comments on commit 30ac3f6

Please sign in to comment.