我的 puma 服务器从 http -> https (开发中)重定向,但只有一个 URL: localhost:3000。一旦我在末尾添加任何内容(即localhost:3000/index),它就不再重定向(并且页面错误)。
是否有我缺少的配置选项(或需要注释掉)?我目前有:
ssl_bind 'localhost', '3000' { ... }在 config/puma.rb 和
force_ssl = trueconfig/environments/development.rb 中。