假设我的网站是 asp 的,我能做到除了 asp,html,js,css,jpg,gif 等格式的后缀能访问外,其他后缀的都返回 403 么?
|  |      1guoer      2017-12-14 22:42:42 +08:00 via iPhone  1 可以的。匹配 location | 
|  |      2mtus      2017-12-14 23:10:26 +08:00  4 在这里测试 location 规则: [Nginx Location Match Visible]( https://detailyang.github.io/nginx-location-match-visible/) | 
|      3yuedingwangji OP @guoer 怎么配置? | 
|      4Lax      2017-12-15 01:26:10 +08:00 Nginx 配置方面可以提供付费咨询,有兴趣的话可以在我资料里找到联系方式 | 
|      5yuedingwangji OP @Lax 价格怎么算 | 
|      8huaxing0211      2017-12-15 11:16:37 +08:00 location ~ .*\.(php|jsp|do|swf){deny all;} | 
|      9dorothyREN      2017-12-15 18:06:22 +08:00 正则匹配,非这几个尾巴的 return 一个 403 |