Fix nginx dir permissions.