disable IP rate limiting for 127.0.0.2
This commit is contained in:
parent
7b12272a5b
commit
5614da2943
|
@ -39,7 +39,7 @@ class Rack::Attack
|
|||
end
|
||||
|
||||
Rack::Attack.safelist('allow from localhost') do |req|
|
||||
req.remote_ip == '127.0.0.1' || req.remote_ip == '::1'
|
||||
req.remote_ip == '127.0.0.1' || req.remote_ip == '127.0.0.2' || req.remote_ip == '::1'
|
||||
end
|
||||
|
||||
Rack::Attack.blocklist('deny from blocklist') do |req|
|
||||
|
|
Reference in New Issue