Created
August 3, 2022 23:59
-
-
Save ewalk153/f8f160acf9d28e4af279711b534824b2 to your computer and use it in GitHub Desktop.
Proxying a rails app through the cloudflared tunnel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.configure do | |
config.hosts << /[a-z\-]+\.trycloudflare\.com/ | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cloudflared tunnel --url http://localhost:3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment