Remove request limits for ipfs proxy

In favor of fail2ban
This commit is contained in:
Râu Cao 2022-11-30 11:58:22 +01:00
parent c4d43b7f4e
commit 83513dbd9d
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}