I setup an NGINX loadbalancer in front of 2 tomcat servers on a Cent7 system. When I try to pull them up from the LB, I just get the default index.html NGINX page from the default installation. I've gone through a bunch of guides but im not sure what im failing on. I created a load-balancer.conf file in the /etc/nginx/conf.d/ folder and it looks like this:
upstream backend {
server 192.168.80.123;
server 192.168.80.122;
}
server {
listen 80;
location / {
proxy_pass http://backend;
}
}
The nginx.conf files is default right now. I followed some guides that had a setup similar to apache with sites-available, but got the same results. Seems like im missing something somewhere, but I can't find where. No matter what I try it just pulls up the default index.html file that is in /usr/share/nginx/html.