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

Access through IP address #1115

Open
GT-610 opened this issue Feb 13, 2025 · 3 comments
Open

Access through IP address #1115

GT-610 opened this issue Feb 13, 2025 · 3 comments
Labels
idea An idea for a feature/improvement

Comments

@GT-610
Copy link

GT-610 commented Feb 13, 2025

When directly accessing from IP, it will show "Invalid Host header."

However, my machine is in a Tailscale network and comfiguring hosts of every machine is much too difficult and unrealistic. I understand currently API needs subdomain api.example.com but as a self-hostable service accessing through IP is still needed as setting up local DNS or domains in a local network is needless in most cases I think.

I 've noticed there's already #230 which includes this suggestion, and I really hope accessing via IP feature would be available soon.

@GT-610 GT-610 added the idea An idea for a feature/improvement label Feb 13, 2025
@KernelDeimos
Copy link
Contributor

The issue you linked mentions the experimental_no_subdomain config property. I think if you set this to true, and also set domain to the IP address, it will let you access "via IP". Let me know how this goes. I agree we definitely need to make this simper, but it seems very difficult to do that without compromising security.

@MaxITService
Copy link

MaxITService commented Feb 22, 2025

but it seems very difficult to do that without compromising security.

Well, I don't see how is this related to security at all. First of all, worst that can happen, you can have conflicts with other hostnames served under your IP, but that is clearly your own fault as a hoster. If you want security, you should enable and configure it manually. And, for example, all containers that I tried before - like they all don't care what host header you using for them.

@jelveh
Copy link
Contributor

jelveh commented Feb 22, 2025

like they all don't care what host header you using for them.

they should

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea An idea for a feature/improvement
Projects
None yet
Development

No branches or pull requests

4 participants