That's what I would think! So a configuration like below seems it should work?
upstream conHTTPS {
server p1.com:7443;
server p2.com:7443;
}
location /portal {
rewrite /portal/([^/]+) /arcgis/$1 break;
proxy_pass https://conHTTPS;
proxy_set_header X-Forwarded-Host nlb.com;
}
From what the help you've provided and what I've researched, this should work, but I'm not seeing the expected results.
upstream conHTTPS {
server p1.com:7443;
server p2.com:7443;
}
location /portal {
rewrite /portal/([^/]+) /arcgis/$1 break;
proxy_pass https://conHTTPS;
proxy_set_header X-Forwarded-Host nlb.com;
}
From what the help you've provided and what I've researched, this should work, but I'm not seeing the expected results.