Nginx getting Permission denied when connecting to Unicorn

前端 未结 3 1508
旧巷少年郎
旧巷少年郎 2021-01-20 03:24

I have tried many suggestions online but nothing has worked. I have unicorn and nginx working to deploy a ruby on rails app on a CentOS 6.5 server. It has worked before b

3条回答
  •  不要未来只要你来
    2021-01-20 03:53

    I found the problem. The path for unicorn.myapp.sock had to go to the /tmp directory on root rather than in myuser directory. Also, the root path in my nginx default.conf file needed to be at root/myApp/public rather than what I had. I have no idea what that last part means but it works and I'm happy. Thanks to everyone that helped me get here.

提交回复
热议问题