1
URL「http://example.com/test/%C2%A0」を「http://example.com/test」に書き換えるためにこのNginxルールを書く方法を考え出すのは苦労しています。私は私のバーチャルホストでこれまでに試してみましたが何場所にスペース(%C2%A0)を使用してNginx書き換えルールを実装する方法はありますか?
:私はnginxのサービスを再起動している間
Location http://example.com/test/%C2%A0 {
rewrite ^/.* http://example.com/test permanent;
}
動作するようには思えません。事前に
おかげで、
あなたのサーバーブロックに '再書込み^ /テスト/%C2%A0 http://example.com/test permanent; – Blkc