force_https라는 설정이 있는데, 이를 ENV나 rails console을 통해 활성화해야 합니다.
force_https
또한 프록시에서 적절한 x-forwarded-proto를 설정하는 것도 잊지 마세요.
x-forwarded-proto