質問編集履歴
1
追記を追加しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -264,4 +264,17 @@
|
|
264
264
|
# }
|
265
265
|
|
266
266
|
}
|
267
|
-
```
|
267
|
+
```
|
268
|
+
|
269
|
+
|
270
|
+
### 追記1
|
271
|
+
別サイトで教えていただいた内容
|
272
|
+
|
273
|
+
`/etc/nginx/conf.d/【webapp】.conf` の `location @app` 内に`proxy_pass http://app_server;`を追加する
|
274
|
+
|
275
|
+
を反映させるとnginxのエラー内容が
|
276
|
+
```
|
277
|
+
[error] 9028#0: *6 connect() to unix:/var/www/rails/【webapp】/tmp/sockets/.unicorn.sock failed (111: Connection refused) while connecting to upstream, client: 【my_global_ip】, server: 【myDomain】, request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/rails/【webapp】/tmp/sockets/.unicorn.sock:/", host: "【myDomain】"
|
278
|
+
```
|
279
|
+
|
280
|
+
に変わりました。
|