This project is archived and is in readonly mode.
polymorphic_url does not take https into consideration when generating the URL
-
Marjan Krekoten'
Well this is not Rails issue. You should tell nginx to set X-Forwarded-For header so Rails will know that https is being used.
location / { # ... proxy_set_header X-Forwarded-For https # ... } -
David Trasbo
- State changed from new to invalid
- Importance changed from to Low
Marking this
invalidfor now. Please try what Marjan describes. If it turns out to be a Rails issue I'll re-open. -
modsaid
Thank you Marjan
I'll try it