Deleted the nginx configuration and fiddled with the cache settings.