Nginx Cache and WP canonical URL create infinite loop (bug ?)

Maxim Dounin mdounin at mdounin.ru
Thu Nov 24 10:17:44 UTC 2011


Hello!

On Thu, Nov 24, 2011 at 09:50:10AM +0100, Simone Fumagalli wrote:

> On 11/23/2011 06:41 PM, Maxim Dounin wrote:
> >With this config, the cache key for the request to
> >"http://www.mysite.com/my-page//" will be
> >"http://ALL_backend/my-page//".
> 
> Well, I was wrong. In another file, on main level, I've
> 
> 	proxy_cache_key "$scheme://$host$request_uri";

With this proxy_cache_key the key (for the same request) will be 
"http://www.mysite.com/my-page//".

Maxim Dounin



More information about the nginx mailing list