Seems I have it working with the setup below. Is this the most elegant way to do this? location ~ \.php$ { fastcgi_index index.php; include /etc/nginx/fastcgi_params; if ($args ~ flush=y) { fastcgi_pass 127.0.0.1:9000; break; } if ($request_method != GET) { fastcgi_pass 127.0.0.1:9000; break; } if ($http_cookie ~by natebeaty - How to...
I have a feeling this is simple, but I'm having no luck figuring it out on my own. I am storing full pages in memcache on the PHP side, and then checking for the memcache page in nginx and serving that up if found. Additionally, I'd like to skip the memcache check if the request is not GET and/or the user has an authentication cookie set. Any help is much appreciated. My (simplified) config:by natebeaty - How to...