Add log_format options in template nginx.conf

Add log_format option in template for nginx.conf