我使用ansible脚本进行服务器设置:
当我将我的应用程序部署到服务器时,我在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:/",
操作系统:Ubuntu 14.04.5
答案 0 :(得分:2)
Capfile:
angular.module('MyApp',['ngMaterial'])
.controller('AppCtrl', function() {
this.selectedIndex = 0;
});
它帮助了我