标签: nginx rewrite
我想使用nginx重写..
如果是cliend请求 http://localhost/v2/{anyalphabet}/subdir 那我想表示 /docs/index.html ...这是物理位置。
http://localhost/v2/{anyalphabet}/subdir
/docs/index.html
我试过这个
location /v2/ { rewrite /v2/*$ /docs/index.html; }
这不可能吗?