Thomas, Thanks for the answer! I made the corrections and the nginx service worked. Thank you. Although it worked, I saw that the backend servers are receiving the IP request from the proxy, is there any way to pass the source IP of the proxy request preserving the source IP and port? take a look at this example: from an IP test server 10.22.51.16 I make a request on port 25 to the proxy serby andersonsserra - Nginx Mailing List - English
Hi folks, I'm trying to do a round-robin load balancing for outgoing connections from my MTA servers. At first I tried it as follows: # pwd /etc/nginx/email # cat balanceador.conf stream { upstream stream_backend_mail { least_conn; server mta-01.srvmail.com.br:26 max_fails=2 fail_timeout=15s; server mta-02.srvmail.com.br:26 maxby andersonsserra - Nginx Mailing List - English