默认配置是
location ~ /purge(/.*) {
} 匹配不到,清除不了,报404.
增加一个:
location = /purge(\/) {
}
就可以了!
是正则匹配的问题!
转载于:https://blog.51cto.com/94j69/1163713
默认配置是
location ~ /purge(/.*) {
} 匹配不到,清除不了,报404.
增加一个:
location = /purge(\/) {
}
就可以了!
是正则匹配的问题!
转载于:https://blog.51cto.com/94j69/1163713