回答編集履歴

1

proxy_passに$request_uriを追加

2017/11/21 07:59

投稿

pdj_kt
pdj_kt

スコア16

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  location / {
12
12
 
13
- proxy_pass http://example.com/$1/;
13
+ proxy_pass http://example.com/$1$request_uri;
14
14
 
15
15
  }
16
16