document.writeln('');
Chevereto 是目前最為強大的 PHP 圖床系統,通過它可部署多用戶公開或私有的圖片存儲服務,現在 Chevereto 出了免費的版本,小伙伴可以圍觀一下https://github.com/Chevereto/Chevereto-Free
Chevereto 默認提供基于 Apache 環境的偽靜態規則,如果服務器是 Nginx 的話,可以使用下面的偽靜態規則
location / {
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
try_files $uri $uri/ /api.php;
}
location /admin {
try_files $uri /admin/index.php?$args;
}