How to use Nginx for Reverse Proxy with Load Balancing?
Looking for someone’s knowledge on using Nginx for reverse proxy. Below is the issue I’m finding…
server 1 http://ip:port/folder/
server 2 http://ip:port/folder/
They do match up however the second server has files on it like portal.php which it looks like its trying to load locally from server 1. Is it possible to grab everything from the second server? If that makes sense.
20xx/xx/xx 23:12:49 [error] 9416#0: *7 open() “/usr/share/nginx/html/portal.php” failed (2: No such file or directory), client: **IP ADDRESS**, server: server.local, request: “GET /portal.php?type=stb&action=handshake&token=&JsHttpRequest=1-xml HTTP/1.1”, host: “IP:PORT”, referrer: “http://IP:PORT/c/”