Skip to content

Support TLS-capable transport or configurable control-plane transport for reverse-proxy (HTTPS) environments #16

Description

@Paradoxa12

Hi,

first of all thanks for the awesome project!
I’m using Microlink with a Headscale server deployed behind a standard HTTPS reverse proxy (Caddy). As I understand, the current implementation assumes a raw TCP + HTTP/1.1 Upgrade connection to the control-plane server, typically on port 80.

This works in simple direct-access deployments, but it breaks in more common modern setups where:

  • The Headscale server is only exposed via HTTPS (port 443)
  • Port 80 is closed or not available
  • A reverse proxy (e.g. Caddy / Nginx) terminates TLS in front of Headscale

In this setup, the connection fails during the upgrade phase because Microlink is sending a plain HTTP upgrade request to a TLS-enabled endpoint.
Do you plan on adding such a feature in the near term, so that Microlink can operate behind standard HTTPS reverse proxies?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions