03/07/2019 / Uncategorized nginx 禁止访问隐藏文件的配置 即当访问以 . 开头的文件,返回 403 响应。在 nginx 的站点配置文件中的 server 块中添加 location ~ /\. { deny all; }