2 个回答

貌似没有根据文件属性做的访问控制,我这边了解的你这种需求可以真对某个文件作访问控制。

        location ~ /config.php {
            deny all;
        }

不想让访问把文件权限设置成0600

推荐问题