Closed hehenaice closed 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 mineThank you
You can specific port by changing CADDY_WEB_PORT env.
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?
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.
That worked perfectly. And yes, I'm intended to add this thing to my cloudflared config. Easy way to get SSL without ssl
Thanks again for the wonderful support and quick responses.
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 mineThank you