Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] About Tailscale's "nginx-auth" integration within this plugin: "can't extract tailnet name from hostname". #82

Open
Chocaute opened this issue Nov 19, 2024 · 1 comment
Labels
likely-fixed Likely fixed, but waiting for confirmation.

Comments

@Chocaute
Copy link

Chocaute commented Nov 19, 2024

Hello,

I'm running a headscale network. Another headscale user successfully used Tailscale's nginx-auth within this plugin. However, I'm encountering an issue when trying to use the nginx-auth package from apt:

can't extract tailnet name from hostname "some-laptop.user.tailnet.domain.com"

Was this error encountered during the plugin's development? If so, how was it resolved?

Thank you for your time, and have a nice day.

@willnorris
Copy link
Member

this isn't really intended to be used together with nginx-auth, as it contains all of the same functionality directly. For example, assuming you're using nginx-auth with Caddy's forward_auth directive, take a look at https://github.com/tailscale/caddy-tailscale#authentication-provider for how to achieve that with caddy-tailscale.

If I'm misunderstanding the problem, then could you say more about your configuration?

@willnorris willnorris added the likely-fixed Likely fixed, but waiting for confirmation. label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
likely-fixed Likely fixed, but waiting for confirmation.
Projects
None yet
Development

No branches or pull requests

2 participants