Change nginx log dir mode.