title: Nginx/php-fpm umask setting
body: <p>When I was using apache2 server, setting default <code>umask</code> in /etc/apache2/envvars to <code>0002</code> used to solve all my permissions problems. Now that I am trying to setup nginx/php-fpm, I have come across the same problems when files are created with improper permissions. </p>
  
  <p>Is there <code>umask</code> setting in nginx or php-fpm?</p>