fix empty log_dir var in nginx.conf