From 83513dbd9d7a9a648e8e8fbeac97ca69465339d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 30 Nov 2022 11:58:22 +0100 Subject: [PATCH] Remove request limits for ipfs proxy In favor of fail2ban --- .../templates/default/nginx_conf_ipfs.kosmos.org.erb | 3 --- 1 file changed, 3 deletions(-) diff --git a/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb b/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb index 4343925..92fb220 100644 --- a/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb +++ b/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb @@ -9,8 +9,6 @@ upstream _ipfs_api { <% end %> } -limit_req_zone $binary_remote_addr zone=ipfsgateway:10m rate=10r/s; - server { listen 443 ssl http2; listen [::]:443 ssl http2; @@ -21,7 +19,6 @@ server { error_log /var/log/nginx/<%= @server_name %>.error.log; location /ipfs { - limit_req zone=ipfsgateway burst=20 nodelay; proxy_pass http://_ipfs_gateway/ipfs; }