Hi, i have a problem. I have two VirtualMachine with two IP different. I'm configuring my reverse proxy: upstream balancer-site1{ ip_hash; server 0.0.0.0; (my ip) } upstream balancer-site2{ ip_hash; server 0.0.0.0; (my ip) } server { listen 8080; server_name mysite1; location /site1/{ add_header Cache-Control no-cache; proxy_pass balancer-site1/site1/; } } server { listen 8080; server_name mysite2; location /site2/{ add_header Cache-Control no-cache; proxy_pass balancer-site2/site2; } } If I write in the browser "mioip/site2", is processed site1, and then site2. This results in an incorrect display.How can I solve the configuration with 2 virtualmachine is wrong?
Is it possible to tell your scope of work with architecture ,so i will try to give you configuration.