location ~ (.*)\.html$ {
rewrite "(.*)\.html" "$1.jsp" permanent;
}
location ~ (.*)\.jsp$ {
default_type text/plain;
return 200 'html to jsp';
}
nginx重定向路径
最新推荐文章于 2023-10-19 08:44:46 发布