Skip to content

Proxy/reverse proxy with Apache2 #214

@BostonDanPhD

Description

@BostonDanPhD

I have an API Key and my headscale server is behind apache2.

When I put in the credentials (server url and API Key), save it, and then test the server it is still an X.

Also, when I reload the page, I get a "Failed to Fetch" error, and the page states that the API test did not succeed.

My Apache2 configuration is:

   Listen 1234
   <VirtualHost *:1234>

       ServerName <server name>
       ProxyPass / https://<server-name>:8443/ upgrade=any
       ProxyPassReverse /web https://<server-name>:8443/
       ProxyPassReverse / https://<server-name>:8443/ 

       SSLEngine on
       SSLProxyEngine on
       SSLCertificateFile <path to certificate file>
       SSLCertificateKeyFile <path to key file>
       SSLCertificateChainFile <path to chain file>
       SSLProtocol all
       ProxyPreserveHost on

   </VirtualHost>

I do not know cuddy, nor do I use Nginx.

Can anybody help with a proxy/reverse proxy for Apache to get headscale-ui working?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions