Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-17 Thread Ruben D
Thank you, now it seems to work! Verstuurd vanaf mijn iPhone > Op 17 nov. 2017 om 15:02 heeft Francis Daly het volgende > geschreven: > > On Fri, Nov 17, 2017 at 02:16:41PM +0100, Ruben wrote: > > Hi there, > >> instance-001 log when making the request: >> >> "GET /cdn/test/test.jpg HTTP/1

Re: why is proxy_cache_lock not working?

2017-11-17 Thread Maxim Dounin
Hello! On Fri, Nov 17, 2017 at 01:49:45AM -0500, edanic0017 wrote: [...] > Below are the parts of the nginx configuration > > > proxy_cache_path/tmp/nginx/cache > levels=1:2 > keys_zone=my_cache:1m >

Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-17 Thread Francis Daly
On Fri, Nov 17, 2017 at 02:16:41PM +0100, Ruben wrote: Hi there, > instance-001 log when making the request: > > "GET /cdn/test/test.jpg HTTP/1.0" 301 185 "-" "Mozilla/5.0 (Windows NT > 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/62.0.3202.94 Safari/537.36" Ok, that's good

Re: Nginx dynamic proxy_pass keeps redirecting to wrong domain

2017-11-17 Thread Ruben
The logs of instance-001 show that a GET request is made at instance-001 and that it is a 301 redirect. instance-001 log when making the request: "GET /cdn/test/test.jpg HTTP/1.0" 301 185 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Saf