Blocked host: awesome_project.local To allow requests to awesome_project.local, add the following to your environment configuration: config.hosts << "awesome_project.local"
不知道你 nginx 怎么配置的
nginx 没问题的 我怀疑是 rails 没配置好
add the following to your environment configuration: config.hosts << "awesome_project.local"
提示信息中就包含了解决方案。。。 add the following to your environment configuration: config.hosts << "awesome_project.local"
我第一次安装 rails 能否讲清楚一些呢,还有本地开发是不是不需要 nginx 也可以
谢谢
config.hosts << "awesome_project.local"
好的 谢谢
建议阅读 Rails guide 中文 Rails Guide 最新版本 Rails Guide