0
点赞
收藏
分享

微信扫一扫

【服务器】【个人图床】宝塔安装Chevereto


1、下载并上传到云

官网地址:https://github.com/Chevereto/Chevereto-Free/tree/1.1.3

【服务器】【个人图床】宝塔安装Chevereto_Nginx


顺便把权限改为755,不然可能无法访问

【服务器】【个人图床】宝塔安装Chevereto_伪静态_02

2、创建网站指定目录

【服务器】【个人图床】宝塔安装Chevereto_伪静态_03


因为chevereto文件夹​​.htacess​​下提供的伪静态是Apach的,所以这里Nginx要修改伪静态。

# Image not found replacement
location ~* (jpe?g|png|gif) {
log_not_found off;
error_page 404 /content/images/system/default/404.gif;
}
# CORS header (avoids font rendering issues)
location ~ \.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
add_header Access-Control-Allow-Origin "*";
}
# Pretty URLs
location / {
try_files $uri $uri/ /index.php?$query_string;
}

【服务器】【个人图床】宝塔安装Chevereto_Nginx_04

3、进入web界面安装

照例填写一下数据就可以使用啦

【服务器】【个人图床】宝塔安装Chevereto_伪静态_05


【服务器】【个人图床】宝塔安装Chevereto_css_06


【服务器】【个人图床】宝塔安装Chevereto_css_07


Setting最下面可以修改语言

【服务器】【个人图床】宝塔安装Chevereto_伪静态_08

参考资料

  • av62186105
  • chevereto可以挂载阿里云和azure的OSS,这里因为没钱就不演示了。。。


举报

相关推荐

0 条评论