Ruby on rails: force_ssl not redirecting from http to https when using thin start --ssl

前端 未结 5 1677
生来不讨喜
生来不讨喜 2021-01-21 03:49

I have been trying to configure my rails project to use SSL (as application wide) with thin (by adding thin gem and placing config.force_ssl = true to applica

5条回答
  •  死守一世寂寞
    2021-01-21 04:24

    Here is the simplest solution.

    https://makandracards.com/makandra/15903-using-thin-for-development-with-ssl

提交回复
热议问题