sniproxy
sniproxy copied to clipboard
Domain and sub domain unable to work together
trafficstars
My config
table https_hosts {
my.example.com 192.168.214.102:8123
.*\\.my\\.example\\.com 192.168.214.102:443
}
If I load https://test.my.example.com, it goes to 8123 If I swap the 2 lines, https://my.example.com occasionally goes to 443
What am I missing?
Maybe this answer is too late,
but have you tried more precise regular expressions?
For example: ^my\.example\.com
(where ^ matches the beginning of line).
thanks no I did not, but instead switched to HA proxy.. haha