location /data/attachment/ { location ~ .*\.(php)?${ deny all; } }
搜了半天给的例子都是这样的 每个目录都复制一遍的就太那啥了吧...
location ~ (/data/attachment/|/xxoo/|/ooxx/oxox) { location ~ .*\.(php)?${ deny all; } }
Ia biasa
Ia biasa