It turned out that this config worked afterall.
server {
listen 80;
server_name bi.myserver.com;
location / {
return 301 /(analytics|xmlpserver);
}
location /analytics {
proxy_pass http://server011:9502;
}
location /xmlpserver {
proxy_pass http://server011:9502;
}
}
We have a Netscaler in front that had caching turned on for this site. Disabling that made all the difference.
Cheers
thg
server {
listen 80;
server_name bi.myserver.com;
location / {
return 301 /(analytics|xmlpserver);
}
location /analytics {
proxy_pass http://server011:9502;
}
location /xmlpserver {
proxy_pass http://server011:9502;
}
}
We have a Netscaler in front that had caching turned on for this site. Disabling that made all the difference.
Cheers
thg