shisgmei 发表于 2016-12-28 10:24:19

Nginx在URL末尾自动添加/

rewrite ^([^.]*[^/])$ $1/ permanent;


[^xyz]反向字符集。匹配未包含的任何字符。
页: [1]
查看完整版本: Nginx在URL末尾自动添加/