Settings NGINX

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;…

Settings NGINX
Digital Point

Leave a Reply

Your email address will not be published. Required fields are marked *