Skip to content

Ablaze-MIRAI/ImageProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageProxy

画像をプロキシします

How to use

https://[your domain]/?source=<url>

source パラメーターにURLを指定するだけで使えます

How to deploy

  1. このリポジトリをクローンします。
  2. 中身を全てドキュメントルートに移動します。
  3. config.php で設定をします。設定方法

Setup

プロキシに関する設定ができます

CORS

アクセスできるオリジンを制限できます

// Default
$CORS = "*";

// Example
$CORS = "https://example.com";

User Agent

データを取得する際のユーザーエージェントを設定できます。

// Default
$UA = "ImageProxy_v1.0.0";

// Example
$UA = "Example_Bot";

About

画像をプロキシします

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages