I have setup a single wordpress site following https://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/, but I’m having a problem, every x amount of time (it varies) when I visit the homepage not logged as admin I get a 404 page not found error. It is easily to solve by just going into the admin -> nginx helper and clicking on purge cache. I can also solve it by just going into any article and hitting save without even modifying the content.
So I’m guessing the save mechanism is triggering the purge cache from nginx helper as it should, but I can’t be monitoring the site for 404 page not found. How can I force nginx helper to auto purge cache after x amount of time or before throwing the 404 error on the homepage. I’m also guessing there is some kind of quota that is getting full for the 404 to appears.
Any help is appreciated.