Explicitly set the user of nginx to "www-data" and make sure the
pagespeed temp folders are accessible by www-data.