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;
}