简体   繁体   中英

puma: puma.sock No such file or directory

I used ansible script for server setup:

playbook.yml

Gemfile

And when I deployed my application to server, I see this in nginx/error.log:

2016/09/30 20:43:07 [crit] 1352#0: *1 connect() to unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock failed (2: No such file or directory) while connecting to upstream, client: *, server: , request: "GET / HTTP/1.1", upstream: "http://unix:/home/deploy/applications/spa_backend/shared/tmp/sockets/puma.sock:/",

OS: Ubuntu 14.04.5

Capfile:

require 'capistrano/puma'

it helped me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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