Hi All, I am trying to configure tcp load balancing with Nginx with below configuration.
stream { server { listen 25; resolver 1.1.1.1; proxy_pass $host:25; } } If I try to connect mx1.abc.com i would like to expand my variable $host to mx1.abc.com and internally it will resolve to servers who handles mail for that mx record. Please let me know is there any nginx variable in stream which supports hostname i am connecting. Aravind M D
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx