Skip to content

Commit ad1ae2f

Browse files
authored
Update log-format.conf
A comma trailing the final field generates invalid JSON.
1 parent b2f4f15 commit ad1ae2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/nginx/includes/log-format.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ log_format json_analytics escape=json '{'
3535
'"server_protocol": "$server_protocol", ' # request protocol, like HTTP/1.1 or HTTP/2.0
3636
'"pipe": "$pipe", ' # "p" if request was pipelined, "." otherwise
3737
'"gzip_ratio": "$gzip_ratio", '
38-
'"http_cf_ray": "$http_cf_ray",'
38+
'"http_cf_ray": "$http_cf_ray"'
3939
'}';

0 commit comments

Comments
 (0)