Open
Description
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:8000 mydomain.net
), but it's possible I had something else with DNS misconfigured.
Partial config for example:
listen 80 {
proto http
table http_hosts
access_log {
filename /var/log/sniproxy/http_access.log
priority notice
}
}
table http_hosts {
mydomain.net 127.0.0.1:8000
sub1.mydomain.net 127.0.0.1:8001
sub2.mydomain.net 127.0.0.1:8002
}
Metadata
Metadata
Assignees
Labels
No labels