I was trying to have a service expose itself outside only through a virtual host. Not through other names or ip addresses.
I set the environment variable: "VAMP_OPERATION_GATEWAY_VIRTUAL_HOSTS_ENABLED": "false"
Howhever the result is that I can still access the service with anything like an ip, a cname etc.
After reading the haproxy config it seems to me like the vhost acls are only generated on port 80 and not on 9050 where they need to be.
I was trying to have a service expose itself outside only through a virtual host. Not through other names or ip addresses.
I set the environment variable: "VAMP_OPERATION_GATEWAY_VIRTUAL_HOSTS_ENABLED": "false"
Howhever the result is that I can still access the service with anything like an ip, a cname etc. After reading the haproxy config it seems to me like the vhost acls are only generated on port 80 and not on 9050 where they need to be.
My vamp file:
The result is this: