Revert "Simplify nginx directory permissions"

The permission changes reverted by this commit led to intermittently
failing 'git clone' commands over HTTP.

This reverts commit b541a3af27ecea742969396322da24fabeaf8227.