Day 16: Install and Configure Nginx as an LBR issue


I don’t know what I am doing wrong.
If I hit curl http://stlb01:80 from jumphost it is working fine (returning apache index.html)

Resolved it after many tries.

Replaced Server block with this in nginx config

server {
    listen       80 default_server;
    listen       [::]:80 default_server;
    server_name  _;

    location / {
        proxy_pass http://app_servers;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }

    error_page 404 /404.html;
    location = /404.html {}

    error_page 500 502 503 504 /50x.html;
    location = /50x.html {}
}

To the mod or admin, Please add hints for tasks like this

The thing about KKE tasks is that there are no hints :slight_smile:

They ultimately test your skill as someone performing a real devops job. Your hints are what you can find on the Internet.