Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
nginx location多目录问题
1365156
location ^~ /images/ {
匹配单个目录
}
我想同时匹配多个目录,如何写?
location ~* /(attachments|upload)/ {
这个匹配不了
}
smallfish.xy
location ~* /(aa|bb) {
echo "hello:$1";
}
这个匹配没啥问题
--
smallfish
http://chenxiaoyu.org
2014/1/16 马六
<
136...@gmail.com
>
location ^~ /images/ {
匹配单个目录
}
我想同时匹配多个目录,如何写?
location ~* /(attachments|upload)/ {
这个匹配不了
}
--