vocms 是一个内容管理系统(CMS),它允许用户创建和管理网站。在这个系统中,您需要创建一个管理员账户才能进行后续的操作。如果您还没有完成用户初始化设置,请先创建一个管理员账户。

在创建管理员账户时,系统会要求您配置伪静态规则。以下是一些建议的配置:

#官网:evocms.org
index index.php index.html;
autoindex off;
location ~* /(\.git|cache|bin|logs|backups?|tests)/.*$ { return 403; }
location ~* /(system|vendor)/.*\.(txt|xml|md|html|htm|shtml|shtm|json|yaml|yml|php|php2|php3|php4|php5|phar|phtml|pl|py|cgi|twig|sh|bat)$ { return 403; }
location ~* /user/.*\.(txt|md|json|yaml|yml|php|php2|php3|php4|php5|phar|phtml|pl|py|cgi|twig|sh|bat)$ { return 403; }

这些配置只是示例,您可能需要根据您的需求进行调整。