Closed dpetryuk closed 1 year ago
For anyone else that may run into this issue: I managed to solve this by following the instructions here
i had to add
handle_path /web* { root * /var/www/html/web file_server }
along with reverse_proxy localhost:8080
to my Caddyfile to setup a reverse proxy for headscale since it's running on that port in my VPS by default.
Hi. I'm currently trying to get headscale-ui setup with headscale on my VPS (on Debian 11) using Caddy. I have headscale running on my VPS under the host static IP. I downloaded headscale-ui, unzipped, and placed the
web
folder under/var/www/html
for Caddy. However, when I try to reach the server via my VPS's host IP, I get these errors in the console.Here's my Caddyfile config:
I also tried hosting the files under
/web
through the Caddyfile (added/web
to:80
), but the files wouldn't even load in. Any suggestions? Thanks in advance.