Skip to content

Today-to-Lsp/Telegram-bot-api-php-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PHP proxy for Telegram Bot API

Demo

Requirements

  • PHP >= 5.6
  • SSL

Demo

新建一个站点,并将你的域名解析到此站点,PHP版本我个人设置的为7.3,Github中提示PHP版本要求≥5.6即可,将Github中的index.php和tgproxy.php放入站点目录中,如图所示,具体步骤不再详细阐述。 image image

设置站点ssl,并开启强制https image

设置伪静态规则

rewrite ^/bot.*$ /tgproxy.php last;

image 大功告成,此时访问你刚才所添加的站点的域名,即可

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages