0
どのように私はnginxのを使用してnginxを使ってuri全体をクエリ文字列として書き換えますか?
http://domain1/one/two?three=four
http://domain2?path=http%3A%2F%2Fdomain1%2Fone%2Ftwo%3Fthree%3Dfour
にフォームのURIを書き換えていますか? nginx variables上
どのように私はnginxのを使用してnginxを使ってuri全体をクエリ文字列として書き換えますか?
http://domain1/one/two?three=four
http://domain2?path=http%3A%2F%2Fdomain1%2Fone%2Ftwo%3Fthree%3Dfour
にフォームのURIを書き換えていますか? nginx variables上
rewrite ^(.*)$ http://domain2?path=$scheme://$host$1 last;
OR
rewrite ^(.*)$ http://domain2?path=$scheme://$host$reques_uri last;
より。