禁止目录下某拓展名文件的访问 发表于 2011-01-16 更新于 2026-03-03 分类于 技术分享 禁止目录下制定拓展名的文件的外网访问: 1location ~ ^.*/themes/(.*.html)?$ {deny all;}