LightSNS 安装引导
检测服务器环境是否满足 LightSNS 的运行要求
正在检测环境...
通常为 localhost 或 127.0.0.1
不存在则自动创建
多个站点共用一个数据库时,使用不同的前缀区分
无密码请留空
请在服务器伪静态设置中配置以下的代码,完成后重启nginx
# 禁止公网直接读取环境配置、升级锁和源码目录 location ~ /\.(?!well-known) { deny all; } location ~ ^/(\.installed|\.schema_synced|\.upgrading|composer\.(json|lock))$ { deny all; } location ~ ^/(config|src|internal|install|debug|gateway|sdk)(/|$) { deny all; } location ~ ^/adminx/(config|src|api/Page/data)(/|$) { deny all; } location / { try_files $uri $uri/ /public/index.php?$query_string; }
包含协议,如 https://example.com,末尾不要加 /
建议使用字母+数字+符号的组合
    LightSNS Pro 0.0.0.5947 · lightsns.com