-
Notifications
You must be signed in to change notification settings - Fork 400
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: subdomains? #387
Comments
I'm stumbling over the same problem, even though the configuration you are showing fixed it for me. Apparently the order in http_hosts matters for non-regex entries? This is not intuitive imo.
routes all requests to
Unfortunately my configuration generator doesn't easily allow to specify the order in |
@erictapen I'll try changing the order and see what happens. |
I have had similar subdomain issues, but I figured out that I had to use more precise regex patterns. |
Can sniproxy route subdomains to different addresses? I did attempt to test it and I think my requests to the subdomain were going to the incorrect server (eg
sub1.mydomain.net
went to 127.0.0.1:8000mydomain.net
), but it's possible I had something else with DNS misconfigured.Partial config for example:
The text was updated successfully, but these errors were encountered: