Remove request limits for ipfs proxy
In favor of fail2ban
This commit is contained in:
parent
c4d43b7f4e
commit
83513dbd9d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue