質問編集履歴
4
エラーログの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,7 +88,7 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
-
追記(13:13)
|
91
|
+
###nginxのエラーログ追記(13:13)
|
92
92
|
|
93
93
|
nginx.logには下記のエラーが記載されていました
|
94
94
|
|
3
ドメインを隠しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -94,9 +94,9 @@
|
|
94
94
|
|
95
95
|
```nginx
|
96
96
|
|
97
|
-
2018/09/25 21:46:34 [crit] 1686#0: *434 connect() to unix:/var/www/rails/app/tmp/sockets/.unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: 113.158.203.126, server: "EIPアドレス", request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/app/tmp/sockets/.unicorn.sock:/", host: "
|
97
|
+
2018/09/25 21:46:34 [crit] 1686#0: *434 connect() to unix:/var/www/rails/app/tmp/sockets/.unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: 113.158.203.126, server: "EIPアドレス", request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/app/tmp/sockets/.unicorn.sock:/", host: "EIPアドレス"
|
98
98
|
|
99
|
-
2018/09/26 23:29:23 [error] 6447#0: *728 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 111.239.177.165, server: _, request: "GET /favicon.ico HTTP/1.1", host: "ドメイン", referrer: "
|
99
|
+
2018/09/26 23:29:23 [error] 6447#0: *728 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 111.239.177.165, server: _, request: "GET /favicon.ico HTTP/1.1", host: "ドメイン", referrer: "ドメイン"
|
100
100
|
|
101
101
|
2018/09/27 00:05:40 [error] 7478#0: *815 connect() to unix:/var/www/rails/app/tmp/sockets/.unicorn.sock failed (111: Connection refused) while connecting to upstream, client: 111.239.177.165, server: "EIPアドレス", request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/app/tmp/sockets/.unicorn.sock:/", host: "EIPアドレス", referrer: "http://"EIPアドレス"/users/password"
|
102
102
|
|
2
nginxのログを追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -85,3 +85,19 @@
|
|
85
85
|
end
|
86
86
|
|
87
87
|
```
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
追記(13:13)
|
92
|
+
|
93
|
+
nginx.logには下記のエラーが記載されていました
|
94
|
+
|
95
|
+
```nginx
|
96
|
+
|
97
|
+
2018/09/25 21:46:34 [crit] 1686#0: *434 connect() to unix:/var/www/rails/app/tmp/sockets/.unicorn.sock failed (2: No such file or directory) while connecting to upstream, client: 113.158.203.126, server: "EIPアドレス", request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/app/tmp/sockets/.unicorn.sock:/", host: "18.179.167.223"
|
98
|
+
|
99
|
+
2018/09/26 23:29:23 [error] 6447#0: *728 open() "/usr/share/nginx/html/favicon.ico" failed (2: No such file or directory), client: 111.239.177.165, server: _, request: "GET /favicon.ico HTTP/1.1", host: "ドメイン", referrer: "http://ec2-18-179-167-223.ap-northeast-1.compute.amazonaws.com/"
|
100
|
+
|
101
|
+
2018/09/27 00:05:40 [error] 7478#0: *815 connect() to unix:/var/www/rails/app/tmp/sockets/.unicorn.sock failed (111: Connection refused) while connecting to upstream, client: 111.239.177.165, server: "EIPアドレス", request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/app/tmp/sockets/.unicorn.sock:/", host: "EIPアドレス", referrer: "http://"EIPアドレス"/users/password"
|
102
|
+
|
103
|
+
```
|
1
ソースコードを変更しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
password: '自分のgmailのパスワード',
|
80
80
|
|
81
|
-
authentication: 'plain'
|
81
|
+
authentication: 'plain'
|
82
82
|
|
83
83
|
}
|
84
84
|
|