- A+
所属分类:PHP
安装前准备
环境:LNMP
Chevereto:
https://github.com/Chevereto/Chevereto-Free/releases/latest
将Chevereto文件上传到网站目录后,访问会提示404,这时我们需要配置下nginx.配置文件添加如下规则
location ~ /.ht { deny all; }
location ~ /(app|content|lib)/.*.(po|php|lock|sql)$ { deny all;}
location ~ *.(ttf|ttc|otf|eot|woff|woff2|css|js)$ { add_header Access-Control-Allow-Origin "*";}
location / { try_files $uri $uri/ /index.php?$query_string;}
安装
访问https://域名/ 会自动跳转到 https://域名/install ,如下图所示:

- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-