Toperlock / sing-box-subscribe

https://sing-box-subscribe-doraemon.vercel.app
1.84k stars 1.83k forks source link

请问使用本地部署怎样通过url进行转换 #84

Closed z1mpleee closed 2 months ago

z1mpleee commented 2 months ago

描述

请问使用将项目部署到服务器后,怎样通过url进行订阅转换

完整性要求

Toperlock commented 2 months ago

vercel服务器域名:

image

/config拼接订阅链接

https://xxxxxxx.vercel.app/config/https://xxxxxxsubscribe?token=123456
z1mpleee commented 2 months ago

vercel服务器域名:

image

/config拼接订阅链接

https://xxxxxxx.vercel.app/config/https://xxxxxxsubscribe?token=123456

如果是部署到服务器,利用python main.py运行呢

Toperlock commented 2 months ago

用的Docker吗 用你服务器的ip+port https://github.com/Toperlock/sing-box-subscribe/issues/46#issuecomment-1954913595

z1mpleee commented 2 months ago

用的Docker吗 用你服务器的ip+port #46 (comment)

没用docker,直接跑起来的,请问在哪里可以修改port

Toperlock commented 2 months ago

那不行,你得把生成的本地文件.json上传到托管平台,例如gist,就可以得要远程链接

Toperlock commented 2 months ago

image image

z1mpleee commented 2 months ago

那不行,你得把生成的本地文件.json上传到托管平台,例如gist,就可以得要远程链接

所以直接通过python main.py运行的话是默认443端口吗,因为我服务器443端口已经被占用了