These instructions allow you to setup basic Nginx FastCGI caching for Wordpress. It ensures all admin users, and non-GET requests, bypass the cache.
Create directories with the following commands:
mkdir -p /var/cache/nginxfastcgi
chown www-data: /var/cache/nginxfastcgi
Add the following to the main server blockin your site's .conf file:
fastcgi_cache_key $scheme$request_method$host$request_uri;