我希望在针对.test
域强制https的新Chrome更新后,针对我们的rails应用从.dev
将开发域更改为.dev
。
我更新了我们使用.dev
域的应用中的所有位置。我也更改了/etc/hosts
文件。它看起来像下面。尝试在浏览器中访问应用时出现ERR_TOO_MANY_REDIRECTS
错误。我在日志中看到这个请求没有点击应用程序,所以它可能在某个地方早些时候失败了。任何想法如何解决这个问题?
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 example.test
127.0.0.1 www.example.test
127.0.0.1 app.example.test