I'm trying to force my application into using SSL. I've inserted "force_ssl" into my application controller. However when I try to access the application I'm getting 404s for every page. The application is being redirected to https, though.
I'm using passenger and apache.
Is there something else I need to do? Any hints/tips would be greatly appreciated.
Thanks
Try putting
config.force_ssl = true
into application.rb .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.