The default proxy_cache_key is "$scheme$proxy_host$request_uri;" This means that when a non-cacheable page includes a cacheable part via SSI, the part is stored using the key of the main page, and the next person to view the main page will have only that part displayed to them. Replacing $request_uri with just $uri fixed this for me -- now I can have a dynamic layout with several staticby Shish - Nginx Mailing List - English
I have two pylons processes running on my devbox, one is my app in production mode, one in development mode -- I have dev-server.mydomain.com and www.mydomain.com both aliased to the devbox. Rather than have the nginx config duplicated once for each domain, I have one config with an if statement in it. Thus, in my config file is this: if ($http_host ~ "(dev-server)") {set $proxy_portby Shish - Nginx Mailing List - English