Problems I met when upgrade HTTP to HTTPS for Rails application

18 Apr 2020

Webhook of POST fail by Nginx redirect

After I update Nginx to redirect HTTP requests to HTTPS, the request methods change from HTTP to HTTPS. Then the webhook request parse to wrong action. I have to close Nginx redirect temporary, and recreate those webhooks’ URL to change from HTTP to HTTPS.

“force_ssl = true” cause users can’t succes login

I’m not very sure about that issue. But I fixed it by change session store name.


Back to top