Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails still thinks URLs are http (ergo force_ssl doesn't work) #19

Closed
paulca opened this issue Jul 30, 2016 · 2 comments
Closed

Rails still thinks URLs are http (ergo force_ssl doesn't work) #19

paulca opened this issue Jul 30, 2016 · 2 comments

Comments

@paulca
Copy link
Contributor

paulca commented Jul 30, 2016

SSL support is amazing (mind-blowing even), but upon enabling Rails's force_ssl in development mode. It looks like the protocol isn't being passed along to Rails.

Does X-Forwarded-Proto: https need to be set?

@paulca paulca changed the title Rails's force_ssl doesn't work in development mode Rails still thinks URLs are http (ergo force_ssl doesn't work) Jul 30, 2016
@paulca
Copy link
Contributor Author

paulca commented Jul 30, 2016

(URL helpers also generate http links rather than https)

@evanphx
Copy link
Member

evanphx commented Jul 30, 2016

Oh geez, yes of course. Release shortly with that fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants