config.hosts << code example Example: rails ngrok blocked host # development.rb config.hosts << /[a-z0-9]+\.ngrok\.io/