Skip to content

Instantly share code, notes, and snippets.

@ewalk153
Created August 3, 2022 23:59
Show Gist options
  • Save ewalk153/f8f160acf9d28e4af279711b534824b2 to your computer and use it in GitHub Desktop.
Save ewalk153/f8f160acf9d28e4af279711b534824b2 to your computer and use it in GitHub Desktop.
Proxying a rails app through the cloudflared tunnel
Rails.application.configure do
config.hosts << /[a-z\-]+\.trycloudflare\.com/
end
cloudflared tunnel --url http://localhost:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment