
Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!

On the back end web servers, run the following commands to install NGINX: sudo apt-get install -y nginx uname -n | sudo tee /usr/share/nginx/html/index.html On the load balancer, run the follow commands: sudo apt-get install -y nginx Use the following as the contents of /etc/nginx/sites-available/default: upstream web_backend {
server 10.11.12.51; server 10.11.12.52; } server { listen 80; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://web_backend; } } Make NGINX read the new configuration by running the following command: sudo service nginx reload http://www.LinuxTrainingAcademy.com