标签: 禁止特殊后缀访问

nginx 保护特定的文件后缀 禁止特殊后缀访问

location ~\.(ini|log|conf|db)$ { deny all; return 405; […]