Skip to content

Commit

Permalink
Remove ratelimit for ci.dev.mariadb.org
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Oct 16, 2024
1 parent feb7edf commit c55c883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docker-compose/nginx/templates/bb.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server {
}

# Default rate limited zone, with 30 requests per minute
limit_req_zone $request_uri zone=default:10m rate=30r/m;
limit_req_zone $request_uri zone=bb:10m rate=30r/m;
client_max_body_size 10M;

server {
Expand All @@ -34,7 +34,7 @@ server {

# Use default zone for rate limiting, allow burst of 10 requests with
# no delay
limit_req zone=default burst=10 nodelay;
limit_req zone=bb burst=10 nodelay;

location / {
proxy_pass http://127.0.0.1:8010;
Expand Down
10 changes: 0 additions & 10 deletions docker-compose/nginx/templates/ci.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,13 @@ server {
}
}

# Default rate limited zone, with 30 requests per minute
limit_req_zone $request_uri zone=default:10m rate=30r/m;
client_max_body_size 10M;

server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;

server_name ${NGINX_ARTIFACTS_VHOST};

# ratelimit is disabled, do we need it on ci.mariadb.org, probably not
# (static website)
# Use default zone for rate limiting, allow burst of 10 requests with no
# delay
# limit_req zone=default burst=10 nodelay;

root /srv/buildbot/packages/;
location /helper_files {
alias /srv/buildbot/helper_files; #FIXME - for consistency, on hz-bbm2 let's rename it to helper_files instead of mariadb-shared-packages (current PROD)
Expand Down

0 comments on commit c55c883

Please sign in to comment.