Chevereto免费版图床安装

2,661次阅读

共计 408 个字符,预计需要花费 2 分钟才能阅读完成。

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

Chevereto 免费版图床安装

正文完
 
Blood.Cold
版权声明:本站原创文章,由 Blood.Cold 2019-05-25发表,共计408字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。