diff --git a/config/initializers/rack_attack.rb b/config/initializers/rack_attack.rb index 745eb5d3b..57b7f6675 100644 --- a/config/initializers/rack_attack.rb +++ b/config/initializers/rack_attack.rb @@ -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|