log_format mylog '$proxy_add_x_forwarded_for - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent '
'"$request_time"' '"$upstream_addr"' '"$upstream_status"' '"$upstream_response_time"' '"$http_token"'
'"$http_referer" "$http_user_agent"' '$request_body';
access_log /var/log/nginx/access.log mylog ;
error_log /var/log/nginx/error.log;