Comments on: How to Configure NGINX as TCP/UDP Load Balancer in Linux https://www.linuxtechi.com/configure-nginx-tcp-udp-loadbalancer-linux/ Tue, 29 Dec 2020 14:37:27 +0000 hourly 1 By: Pradeep Kumar https://www.linuxtechi.com/configure-nginx-tcp-udp-loadbalancer-linux/#comment-22155 Wed, 28 Oct 2020 03:00:11 +0000 https://www.linuxtechi.com/?p=11462#comment-22155 Yes, it is real time example. In Kubernetes if you want to load balance http traffic coming towards PODs from outside then nginx can be used as S/W Load balancer which sits in front of K8s cluster. Here Port 80 is an example tcp protocol used for serving web pages.

]]>
By: xav https://www.linuxtechi.com/configure-nginx-tcp-udp-loadbalancer-linux/#comment-22147 Tue, 27 Oct 2020 15:46:44 +0000 https://www.linuxtechi.com/?p=11462#comment-22147 I am not sure I understand your first config.
You are listening on 80, then proxying to http:// , plus you are changing some http header.
How can it be at TCP level ?

]]>