Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Problem routing 2 almost similar url's (windows)

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>