ETOC

Chevereto免费版图床安装

安装前准备
环境: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 ,如下图所示:

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »