简体   繁体   English

用nginx运行rails项目给出了403禁止

[英]running rails project with nginx gives 403 forbidden

我有Rails应用程序想要部署在digitalocean上,但是当用nginx运行该应用程序时,它只会看到公用文件夹中的内容,但是主目录却禁止403任何建议?

Follow this carefully and deployment should be working fine 请仔细遵循此操作,部署应能正常进行

https://gorails.com/deploy/ubuntu/16.04 https://gorails.com/deploy/ubuntu/16.04

Choose which ubuntu version you're using on your droplet 选择您在Droplet上使用的ubuntu版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM