iFargle / headscale-webui

A simple Headscale web UI for small-scale deployments.
Other
627 stars 57 forks source link

I have a similar problem with the webui behind a nginx reverse proxy. #68

Closed iFargle closed 1 year ago

iFargle commented 1 year ago
          I have a similar problem with the webui behind a nginx reverse proxy.

With SCRIPT_NAME set, I get a redirect loop. The UI should be available under https://headscale.example.com/admin. Nginx takes care for http -> https redirects but https://headscale.example.com/admin redirects me back to http, causing a loop. Removing SCRIPT_NAME results in a 404

Originally posted by @vbrandl in https://github.com/iFargle/headscale-webui/issues/63#issuecomment-1492154298

iFargle commented 1 year ago

@vbrandl Can you show your nginx config?
I'm unfamiliar with nginx. Does it match the config in https://github.com/iFargle/headscale-webui/blob/main/SETUP.md ?

iFargle commented 1 year ago

Let me know if you have any more issues!