标签文章:#反向代理#

  • Nginx 配置请求后缀 - > 实际请求后缀转换

    1、添加后缀:所有/Kira/下的请求,实际请求地址都自动添加.html举个栗子:http://localhost/Kira/index ->http://localhost/Kira/index.htmllocation^~/Kira/{if(!-f$request_filename){rewrite"^/Kira/(.*)$"/$1.html;break;}}2、去除后缀:所有......

    Nemo Nemo 2017.11.09 15:52 3630浏览 0回复

    阅读更多