I'm using Nginx Memcached and PHP-FPM for my server and this configuration is not working. I'll pay $5 via paypal if someone could fix it. Thanks server{ listen 80; server_name www.mywebsite.net; access_log /var/log/nginx/mywebsite.net.access_log; error_log /var/log/nginx/mywebsite.net.error_log; root /home/mywebsite/public_html/; location / { set $memcached_key $uri; memcached_pass 127.0.0.1:11211; default_type text/html; error_page 404 405 = @fallback; } location ~* \.(gif|jpg|jpeg|png|css|js|ico)$ { expires 30d; access_log off; } location @fallback { rewrite ^ /index.php?q=$uri last; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/mywebsite/public_html/$fastcgi_script_name; include fastcgi_params; } } Code (markup):