rewrite last: 用replacement这个URI进行新的location匹配

rewrite last: 用replacement这个URI进行新的location匹配

https://192.168.137.2:2443/first/a.txt

[192.168.137.2] -[192.168.137.1]- 192.168.137.1 - - [18/Sep/2020:22:49:23 +0800] 
"GET /first/a.txt HTTP/1.1" 200 13 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0" "-" 
"/var/www/html/second/a.txt"

 

你可能感兴趣的:(nginx)