質問編集履歴
8
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
listen 80;
|
54
54
|
|
55
|
-
proxy_set_header Host $host;
|
55
|
+
proxy_set_header Host $host:8000;
|
56
56
|
|
57
57
|
proxy_set_header X-Real-IP $remote_addr;
|
58
58
|
|
@@ -332,34 +332,6 @@
|
|
332
332
|
|
333
333
|
|
334
334
|
|
335
|
-
nignxのログ(ロード時)
|
336
|
-
|
337
|
-
```
|
338
|
-
|
339
|
-
reverse-proxy | 192.168.32.1 - - [29/Sep/2021:04:42:11 +0000] "GET / HTTP/1.1" 200 13004 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" "-"
|
340
|
-
|
341
|
-
reverse-proxy | 192.168.32.1 - - [29/Sep/2021:04:42:11 +0000] "GET /favicon.ico HTTP/1.1" 200 30524 "http://quize.localhost:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" "-"
|
342
|
-
|
343
|
-
```
|
344
|
-
|
345
|
-
apacheのログ (ロード時)
|
346
|
-
|
347
|
-
```
|
348
|
-
|
349
|
-
quize_de_pon_php_app | quize.localhost:80 192.168.32.4 - - [29/Sep/2021:13:42:28 +0900] "GET / HTTP/1.0" 200 14204 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
|
350
|
-
|
351
|
-
quize_de_pon_php_app | quize.localhost:80 192.168.32.4 - - [29/Sep/2021:13:42:29 +0900] "GET /favicon.ico HTTP/1.0" 200 30790 "http://quize.localhost:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
|
352
|
-
|
353
|
-
```
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
![イメージ説明](a86aaabbaaca740b711ed8d823cfc748.png)
|
358
|
-
|
359
|
-
![](243ed352c94a2e3c62e4256d9fa5aac5.png)
|
360
|
-
|
361
|
-
![イメージ説明](7abb58855247b8a64438a692530321e7.png)
|
362
|
-
|
363
335
|
### 試したこと
|
364
336
|
|
365
337
|
リバースプロキシで"http://quize.localhost"への接続は,nginxが522 BAD_GATEWAYにはならないので、
|
7
ログ追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -332,6 +332,28 @@
|
|
332
332
|
|
333
333
|
|
334
334
|
|
335
|
+
nignxのログ(ロード時)
|
336
|
+
|
337
|
+
```
|
338
|
+
|
339
|
+
reverse-proxy | 192.168.32.1 - - [29/Sep/2021:04:42:11 +0000] "GET / HTTP/1.1" 200 13004 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" "-"
|
340
|
+
|
341
|
+
reverse-proxy | 192.168.32.1 - - [29/Sep/2021:04:42:11 +0000] "GET /favicon.ico HTTP/1.1" 200 30524 "http://quize.localhost:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36" "-"
|
342
|
+
|
343
|
+
```
|
344
|
+
|
345
|
+
apacheのログ (ロード時)
|
346
|
+
|
347
|
+
```
|
348
|
+
|
349
|
+
quize_de_pon_php_app | quize.localhost:80 192.168.32.4 - - [29/Sep/2021:13:42:28 +0900] "GET / HTTP/1.0" 200 14204 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
|
350
|
+
|
351
|
+
quize_de_pon_php_app | quize.localhost:80 192.168.32.4 - - [29/Sep/2021:13:42:29 +0900] "GET /favicon.ico HTTP/1.0" 200 30790 "http://quize.localhost:8000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"
|
352
|
+
|
353
|
+
```
|
354
|
+
|
355
|
+
|
356
|
+
|
335
357
|
![イメージ説明](a86aaabbaaca740b711ed8d823cfc748.png)
|
336
358
|
|
337
359
|
![](243ed352c94a2e3c62e4256d9fa5aac5.png)
|
6
写真追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,144 +34,156 @@
|
|
34
34
|
|
35
35
|
--省略
|
36
36
|
|
37
|
+
server {
|
38
|
+
|
39
|
+
listen 80;
|
40
|
+
|
41
|
+
server_name localhost;
|
42
|
+
|
43
|
+
location / {
|
44
|
+
|
45
|
+
proxy_pass http://portfolio_php_app:80;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
}
|
50
|
+
|
37
51
|
server {
|
38
52
|
|
39
53
|
listen 80;
|
40
54
|
|
55
|
+
proxy_set_header Host $host;
|
56
|
+
|
57
|
+
proxy_set_header X-Real-IP $remote_addr;
|
58
|
+
|
59
|
+
proxy_set_header X-Forwarded-Host $host;
|
60
|
+
|
61
|
+
proxy_set_header X-Forwarded-Server $host;
|
62
|
+
|
63
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
64
|
+
|
65
|
+
|
66
|
+
|
41
|
-
server_name localhost;
|
67
|
+
server_name quize.localhost;
|
42
|
-
|
68
|
+
|
43
|
-
location / {
|
69
|
+
location / {
|
44
|
-
|
70
|
+
|
45
|
-
proxy_pass http://po
|
71
|
+
proxy_pass http://quize_de_pon_php_app:80;
|
46
72
|
|
47
73
|
}
|
48
74
|
|
49
75
|
}
|
50
76
|
|
77
|
+
|
78
|
+
|
79
|
+
```
|
80
|
+
|
81
|
+
|
82
|
+
|
51
|
-
|
83
|
+
```dockerNetworkInspect
|
84
|
+
|
52
|
-
|
85
|
+
[
|
86
|
+
|
87
|
+
{
|
88
|
+
|
53
|
-
|
89
|
+
"Name": "proxy_network",
|
90
|
+
|
54
|
-
|
91
|
+
"Id": "b793cb8afd49a372f0a12f215c8f9df9676d764d2b90a97270214132d73483d6",
|
92
|
+
|
93
|
+
"Created": "2021-09-25T05:43:01.6472596Z",
|
94
|
+
|
55
|
-
|
95
|
+
"Scope": "local",
|
96
|
+
|
56
|
-
|
97
|
+
"Driver": "bridge",
|
98
|
+
|
99
|
+
"EnableIPv6": false,
|
100
|
+
|
101
|
+
"IPAM": {
|
102
|
+
|
103
|
+
"Driver": "default",
|
104
|
+
|
57
|
-
|
105
|
+
"Options": {},
|
106
|
+
|
58
|
-
|
107
|
+
"Config": [
|
108
|
+
|
109
|
+
{
|
110
|
+
|
111
|
+
"Subnet": "192.168.224.0/20",
|
112
|
+
|
113
|
+
"Gateway": "192.168.224.1"
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
]
|
118
|
+
|
119
|
+
},
|
120
|
+
|
121
|
+
"Internal": false,
|
122
|
+
|
123
|
+
"Attachable": false,
|
124
|
+
|
125
|
+
"Ingress": false,
|
126
|
+
|
127
|
+
"ConfigFrom": {
|
128
|
+
|
129
|
+
"Network": ""
|
130
|
+
|
131
|
+
},
|
132
|
+
|
133
|
+
"ConfigOnly": false,
|
134
|
+
|
135
|
+
"Containers": {
|
136
|
+
|
137
|
+
"52fdf2e5e7d6ffbd52cd8b91af4b738ee31a6fb1d5691c776729e806dd6259f0": {
|
138
|
+
|
139
|
+
"Name": "portfolio_php_app",
|
140
|
+
|
141
|
+
"EndpointID": "488a763516dd84b5d0f097a1355c0eb2e1cce017647d6a5a2f42fdbc77b1bc13",
|
142
|
+
|
143
|
+
"MacAddress": "02:42:c0:a8:e0:02",
|
144
|
+
|
145
|
+
"IPv4Address": "192.168.224.2/20",
|
146
|
+
|
147
|
+
"IPv6Address": ""
|
148
|
+
|
149
|
+
},
|
150
|
+
|
151
|
+
"5723ed3924d03c1f60869691fc37bf7d5f41766f81f592f181fce7b38456210d": {
|
152
|
+
|
153
|
+
"Name": "reverse-proxy",
|
154
|
+
|
155
|
+
"EndpointID": "492f17d14ca55b94f2fd10c988b6cc599de13a3eeeb0d6915c31eeada0afa763",
|
156
|
+
|
157
|
+
"MacAddress": "02:42:c0:a8:e0:04",
|
158
|
+
|
159
|
+
"IPv4Address": "192.168.224.4/20",
|
160
|
+
|
161
|
+
"IPv6Address": ""
|
162
|
+
|
163
|
+
},
|
164
|
+
|
165
|
+
"e912a03fd4cabc5a1fd0bd8a0b0031809872ec0ab81ac74297dd0e57da81fcc0": {
|
166
|
+
|
59
|
-
|
167
|
+
"Name": "quize_de_pon_php_app",
|
168
|
+
|
169
|
+
"EndpointID": "bfe14785913a62e2dae4c9508853c44bc7d0a2db613fbece0128886b06c577dc",
|
170
|
+
|
171
|
+
"MacAddress": "02:42:c0:a8:e0:03",
|
172
|
+
|
173
|
+
"IPv4Address": "192.168.224.3/20",
|
174
|
+
|
175
|
+
"IPv6Address": ""
|
176
|
+
|
177
|
+
}
|
178
|
+
|
179
|
+
},
|
180
|
+
|
181
|
+
"Options": {},
|
182
|
+
|
183
|
+
"Labels": {}
|
60
184
|
|
61
185
|
}
|
62
186
|
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
```
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
```dockerNetworkInspect
|
72
|
-
|
73
|
-
[
|
74
|
-
|
75
|
-
{
|
76
|
-
|
77
|
-
"Name": "proxy_network",
|
78
|
-
|
79
|
-
"Id": "b793cb8afd49a372f0a12f215c8f9df9676d764d2b90a97270214132d73483d6",
|
80
|
-
|
81
|
-
"Created": "2021-09-25T05:43:01.6472596Z",
|
82
|
-
|
83
|
-
"Scope": "local",
|
84
|
-
|
85
|
-
"Driver": "bridge",
|
86
|
-
|
87
|
-
"EnableIPv6": false,
|
88
|
-
|
89
|
-
"IPAM": {
|
90
|
-
|
91
|
-
"Driver": "default",
|
92
|
-
|
93
|
-
"Options": {},
|
94
|
-
|
95
|
-
"Config": [
|
96
|
-
|
97
|
-
{
|
98
|
-
|
99
|
-
"Subnet": "192.168.224.0/20",
|
100
|
-
|
101
|
-
"Gateway": "192.168.224.1"
|
102
|
-
|
103
|
-
}
|
104
|
-
|
105
|
-
]
|
106
|
-
|
107
|
-
},
|
108
|
-
|
109
|
-
"Internal": false,
|
110
|
-
|
111
|
-
"Attachable": false,
|
112
|
-
|
113
|
-
"Ingress": false,
|
114
|
-
|
115
|
-
"ConfigFrom": {
|
116
|
-
|
117
|
-
"Network": ""
|
118
|
-
|
119
|
-
},
|
120
|
-
|
121
|
-
"ConfigOnly": false,
|
122
|
-
|
123
|
-
"Containers": {
|
124
|
-
|
125
|
-
"52fdf2e5e7d6ffbd52cd8b91af4b738ee31a6fb1d5691c776729e806dd6259f0": {
|
126
|
-
|
127
|
-
"Name": "portfolio_php_app",
|
128
|
-
|
129
|
-
"EndpointID": "488a763516dd84b5d0f097a1355c0eb2e1cce017647d6a5a2f42fdbc77b1bc13",
|
130
|
-
|
131
|
-
"MacAddress": "02:42:c0:a8:e0:02",
|
132
|
-
|
133
|
-
"IPv4Address": "192.168.224.2/20",
|
134
|
-
|
135
|
-
"IPv6Address": ""
|
136
|
-
|
137
|
-
},
|
138
|
-
|
139
|
-
"5723ed3924d03c1f60869691fc37bf7d5f41766f81f592f181fce7b38456210d": {
|
140
|
-
|
141
|
-
"Name": "reverse-proxy",
|
142
|
-
|
143
|
-
"EndpointID": "492f17d14ca55b94f2fd10c988b6cc599de13a3eeeb0d6915c31eeada0afa763",
|
144
|
-
|
145
|
-
"MacAddress": "02:42:c0:a8:e0:04",
|
146
|
-
|
147
|
-
"IPv4Address": "192.168.224.4/20",
|
148
|
-
|
149
|
-
"IPv6Address": ""
|
150
|
-
|
151
|
-
},
|
152
|
-
|
153
|
-
"e912a03fd4cabc5a1fd0bd8a0b0031809872ec0ab81ac74297dd0e57da81fcc0": {
|
154
|
-
|
155
|
-
"Name": "quize_de_pon_php_app",
|
156
|
-
|
157
|
-
"EndpointID": "bfe14785913a62e2dae4c9508853c44bc7d0a2db613fbece0128886b06c577dc",
|
158
|
-
|
159
|
-
"MacAddress": "02:42:c0:a8:e0:03",
|
160
|
-
|
161
|
-
"IPv4Address": "192.168.224.3/20",
|
162
|
-
|
163
|
-
"IPv6Address": ""
|
164
|
-
|
165
|
-
}
|
166
|
-
|
167
|
-
},
|
168
|
-
|
169
|
-
"Options": {},
|
170
|
-
|
171
|
-
"Labels": {}
|
172
|
-
|
173
|
-
}
|
174
|
-
|
175
187
|
]
|
176
188
|
|
177
189
|
```
|
@@ -320,73 +332,11 @@
|
|
320
332
|
|
321
333
|
|
322
334
|
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
1 ##
|
330
|
-
|
331
|
-
1 ##
|
332
|
-
|
333
|
-
1 ##
|
334
|
-
|
335
|
-
2 # Host Database
|
336
|
-
|
337
|
-
3 #
|
338
|
-
|
339
|
-
4 # localhost is used to configure the loopback interface
|
340
|
-
|
341
|
-
5 # when the system is booting. Do not change this entry.
|
342
|
-
|
343
|
-
6 ##
|
344
|
-
|
345
|
-
7 127.0.0.1▸localhost
|
346
|
-
|
347
|
-
8 255.255.255.255▸broadcasthost
|
348
|
-
|
349
|
-
9 ::1 localhost
|
350
|
-
|
351
|
-
10
|
352
|
-
|
353
|
-
11 127.0.0.1▸quize.localhost
|
354
|
-
|
355
|
-
12
|
356
|
-
|
357
|
-
13 255.255.255.255▸broadcasthost
|
358
|
-
|
359
|
-
14 # 徳丸本
|
360
|
-
|
361
|
-
15 192.168.56.101 example.jp api.example.net trap.example.com
|
362
|
-
|
363
|
-
16
|
364
|
-
|
365
|
-
17 # Added by Docker Desktop
|
366
|
-
|
367
|
-
18 # To allow the same kube context to work on the host and the container:
|
368
|
-
|
369
|
-
19 127.0.0.1 kubernetes.docker.internal
|
370
|
-
|
371
|
-
20 # End of section
|
372
|
-
|
373
|
-
```
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
```reverse-proxyLOG
|
378
|
-
|
379
|
-
reverse-proxy | 192.168.32.1 - - [27/Sep/2021:08:03:56 +0000] "GET / HTTP/1.1" 200 2670 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" "-"
|
380
|
-
|
381
|
-
```
|
382
|
-
|
383
|
-
```quize_pon_php_appLOG
|
384
|
-
|
385
|
-
quize_de_pon_php_app | localhost:80 192.168.32.4 - - [27/Sep/2021:17:03:55 +0900] "GET / HTTP/1.0" 200 3876 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36"
|
386
|
-
|
387
|
-
```
|
388
|
-
|
389
|
-
|
335
|
+
![イメージ説明](a86aaabbaaca740b711ed8d823cfc748.png)
|
336
|
+
|
337
|
+
![](243ed352c94a2e3c62e4256d9fa5aac5.png)
|
338
|
+
|
339
|
+
![イメージ説明](7abb58855247b8a64438a692530321e7.png)
|
390
340
|
|
391
341
|
### 試したこと
|
392
342
|
|
@@ -394,10 +344,4 @@
|
|
394
344
|
|
395
345
|
http://portfolio_php_app:80への接続は出来てるのにコンテンツは名前解決されない状態?になってます。
|
396
346
|
|
397
|
-
reverse_proxyから"quize_de_pon_php_app"へのpingはちゃんと通りました。!
|
347
|
+
reverse_proxyから"quize_de_pon_php_app"へのpingはちゃんと通りました。!
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
![イメージ説明](98dfc2fd467dd59382bd068c237b024d.png)
|
402
|
-
|
403
|
-
![イメージ説明](4e18d5422009a7b638542ae9c702b9b8.png)
|
5
log追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -374,6 +374,20 @@
|
|
374
374
|
|
375
375
|
|
376
376
|
|
377
|
+
```reverse-proxyLOG
|
378
|
+
|
379
|
+
reverse-proxy | 192.168.32.1 - - [27/Sep/2021:08:03:56 +0000] "GET / HTTP/1.1" 200 2670 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" "-"
|
380
|
+
|
381
|
+
```
|
382
|
+
|
383
|
+
```quize_pon_php_appLOG
|
384
|
+
|
385
|
+
quize_de_pon_php_app | localhost:80 192.168.32.4 - - [27/Sep/2021:17:03:55 +0900] "GET / HTTP/1.0" 200 3876 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36"
|
386
|
+
|
387
|
+
```
|
388
|
+
|
389
|
+
|
390
|
+
|
377
391
|
### 試したこと
|
378
392
|
|
379
393
|
リバースプロキシで"http://quize.localhost"への接続は,nginxが522 BAD_GATEWAYにはならないので、
|
4
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -381,3 +381,9 @@
|
|
381
381
|
http://portfolio_php_app:80への接続は出来てるのにコンテンツは名前解決されない状態?になってます。
|
382
382
|
|
383
383
|
reverse_proxyから"quize_de_pon_php_app"へのpingはちゃんと通りました。![イメージ説明](c87fc3ddee828f3f9868852fd33d5fb5.png)
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
![イメージ説明](98dfc2fd467dd59382bd068c237b024d.png)
|
388
|
+
|
389
|
+
![イメージ説明](4e18d5422009a7b638542ae9c702b9b8.png)
|
3
hostsついき
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,26 +40,26 @@
|
|
40
40
|
|
41
41
|
server_name localhost;
|
42
42
|
|
43
|
-
|
43
|
+
location / {
|
44
|
+
|
45
|
+
proxy_pass http://portfolio_php_app:80;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
server {
|
52
|
+
|
53
|
+
listen 80;
|
54
|
+
|
55
|
+
server_name quize.localhost;
|
56
|
+
|
57
|
+
location / {
|
44
58
|
|
45
59
|
proxy_pass http://quize_de_pon_php_app:80;
|
46
60
|
|
47
|
-
}
|
48
|
-
|
49
61
|
}
|
50
62
|
|
51
|
-
server {
|
52
|
-
|
53
|
-
listen 80;
|
54
|
-
|
55
|
-
server_name quize.localhost;
|
56
|
-
|
57
|
-
location / {
|
58
|
-
|
59
|
-
proxy_pass http://portfolio_php_app:80;
|
60
|
-
|
61
|
-
}
|
62
|
-
|
63
63
|
}
|
64
64
|
|
65
65
|
|
@@ -320,6 +320,60 @@
|
|
320
320
|
|
321
321
|
|
322
322
|
|
323
|
+
```hosts
|
324
|
+
|
325
|
+
1 ##
|
326
|
+
|
327
|
+
1 ##
|
328
|
+
|
329
|
+
1 ##
|
330
|
+
|
331
|
+
1 ##
|
332
|
+
|
333
|
+
1 ##
|
334
|
+
|
335
|
+
2 # Host Database
|
336
|
+
|
337
|
+
3 #
|
338
|
+
|
339
|
+
4 # localhost is used to configure the loopback interface
|
340
|
+
|
341
|
+
5 # when the system is booting. Do not change this entry.
|
342
|
+
|
343
|
+
6 ##
|
344
|
+
|
345
|
+
7 127.0.0.1▸localhost
|
346
|
+
|
347
|
+
8 255.255.255.255▸broadcasthost
|
348
|
+
|
349
|
+
9 ::1 localhost
|
350
|
+
|
351
|
+
10
|
352
|
+
|
353
|
+
11 127.0.0.1▸quize.localhost
|
354
|
+
|
355
|
+
12
|
356
|
+
|
357
|
+
13 255.255.255.255▸broadcasthost
|
358
|
+
|
359
|
+
14 # 徳丸本
|
360
|
+
|
361
|
+
15 192.168.56.101 example.jp api.example.net trap.example.com
|
362
|
+
|
363
|
+
16
|
364
|
+
|
365
|
+
17 # Added by Docker Desktop
|
366
|
+
|
367
|
+
18 # To allow the same kube context to work on the host and the container:
|
368
|
+
|
369
|
+
19 127.0.0.1 kubernetes.docker.internal
|
370
|
+
|
371
|
+
20 # End of section
|
372
|
+
|
373
|
+
```
|
374
|
+
|
375
|
+
|
376
|
+
|
323
377
|
### 試したこと
|
324
378
|
|
325
379
|
リバースプロキシで"http://quize.localhost"への接続は,nginxが522 BAD_GATEWAYにはならないので、
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -322,6 +322,8 @@
|
|
322
322
|
|
323
323
|
### 試したこと
|
324
324
|
|
325
|
+
リバースプロキシで"http://quize.localhost"への接続は,nginxが522 BAD_GATEWAYにはならないので、
|
326
|
+
|
325
|
-
pr
|
327
|
+
http://portfolio_php_app:80への接続は出来てるのにコンテンツは名前解決されない状態?になってます。
|
326
328
|
|
327
329
|
reverse_proxyから"quize_de_pon_php_app"へのpingはちゃんと通りました。![イメージ説明](c87fc3ddee828f3f9868852fd33d5fb5.png)
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -317,3 +317,11 @@
|
|
317
317
|
|
318
318
|
|
319
319
|
```
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
### 試したこと
|
324
|
+
|
325
|
+
proxy_networkから"quize_de_pon_php_app"を切断したところ,nginxは522 BAD_GATEWAYになりました。接続は出来てるのにコンテンツは名前解決されない状態?になってます。
|
326
|
+
|
327
|
+
reverse_proxyから"quize_de_pon_php_app"へのpingはちゃんと通りました。![イメージ説明](c87fc3ddee828f3f9868852fd33d5fb5.png)
|