安装前准备
环境: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 ,如下图所示:
「一键投喂 软糖/蛋糕/布丁/牛奶/冰阔乐!」
(๑>ڡ<)☆谢谢老板~
使用微信扫描二维码完成支付