質問編集履歴

2

fix

2022/01/17 15:35

投稿

DaichiYasuda
DaichiYasuda

スコア173

test CHANGED
File without changes
test CHANGED
@@ -97,6 +97,8 @@
97
97
  }
98
98
  }
99
99
  ```
100
+
101
+ ## 事象
100
102
  `docker-compose up -d`で立ち上げた後, web URLにアクセスするとレスポンスが正常に返ってきます. web -> api.
101
103
  ```
102
104
  # access log in web container
@@ -116,6 +118,7 @@
116
118
  172.23.0.4 - - [17/Jan/2022:14:55:05 +0000] "GET /merchant/uNIBNya8QiyaeiBSAdh0FxcpNyd8/shop/Tlii3joayARMatbIYzsU/main.dart.js HTTP/1.0" 200 4052 "http://daichi-curry.asigar.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36"
117
119
  ```
118
120
 
121
+ ## 問題だと考えているところ
119
122
  proxy経由のアクセスはは`/main.dart.js`となるはずが`/merchant/uNIBNya8QiyaeiBSAdh0FxcpNyd8/shop/Tlii3joayARMatbIYzsU/main.dart.js`となっています.
120
123
 
121
124
 

1

fix

2022/01/17 15:35

投稿

DaichiYasuda
DaichiYasuda

スコア173

test CHANGED
File without changes
test CHANGED
@@ -5,7 +5,7 @@
5
5
  - API: Go + gin. URL localhost:3000/merchant/:merchant_id/store/:store_id All containers can connect to each other.
6
6
 
7
7
  ## やりたいこと
8
- ProxyのURL(daichi-curry.asigar.com)にアクセスしたら,localhost:3333/merchant/:merchant_id/store/:store_idを経由してlocalhost:3000/merchant/:merchant_id/store/:store_idのAPIの結果を取得したい.
8
+ ProxyのURL(daichi-curry.asigar.com)にアクセスしたら, localhost:3333/merchant/:merchant_id/store/:store_idを経由してlocalhost:3000/merchant/:merchant_id/store/:store_idのAPIの結果を取得したい.
9
9
 
10
10
  ```
11
11
  version: '3'