wy580477 / Leech-AIO-APP-EX

All Downloaders with Rclone auto-upload & Telegram notification on Docker | Docker 全能下载 APP + Rclone 自动上传 + 电报任务完成通知
187 stars 186 forks source link

Serve On Specific Port #72

Closed hehenaice closed 1 year ago

hehenaice commented 1 year ago

This is a personal use case issue, where instead of serving the app on <vps-ip>/portal I need to serve it to <vps-ip>:<specified-port>/portal. Please guide me through this minor issue of mine

Thank you

wy580477 commented 1 year ago

This is a personal use case issue, where instead of serving the app on <vps-ip>/portal I need to serve it to <vps-ip>:<specified-port>/portal. Please guide me through this minor issue of mine

Thank you

You can specific port by changing CADDY_WEB_PORT env.

hehenaice commented 1 year ago

Hi Thank you for your feedback. I used CADDY_DOMAIN: http://localhost & CADDY_WEB_PORT: 6000 ensuring http serve. But it seems to be returning a blank white screen. I don't think I changed anything in particular. Except the mentioned vars, is there a way to debug this?

wy580477 commented 1 year ago

Hi Thank you for your feedback. I used CADDY_DOMAIN: http://localhost & CADDY_WEB_PORT: 6000 ensuring http serve. But it seems to be returning a blank white screen. I don't think I changed anything in particular. Except the mentioned vars, is there a way to debug this?

Are you using reverse proxy? Leave CADDY_DOMAIN blank or set it to your domain. localhost addr also gave me trouble before, caddy seems very picky when listening to localhost.

hehenaice commented 1 year ago

That worked perfectly. And yes, I'm intended to add this thing to my cloudflared config. Easy way to get SSL without ssl

hehenaice commented 1 year ago

Thanks again for the wonderful support and quick responses. IMG_20230205_132433_044