Skip to content

Commit

Permalink
Revert "rename header"
Browse files Browse the repository at this point in the history
This reverts commit 08f8ebc.
  • Loading branch information
guanzo committed Jul 25, 2023
1 parent 08f8ebc commit c0d4307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion container/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ http {
'urt=$upstream_response_time ubs=$upstream_bytes_sent ubr=$upstream_bytes_received '
'bytes=$body_bytes_sent range="$http_range" cache=$upstream_cache_status host=$host '
'scheme=$scheme addr=$remote_addr id=$request_id ref="$http_referer" '
'ua="$http_user_agent" ff="$http_x_forwarded_for" sp=$server_protocol tp=$http_x_trace_id';
'ua="$http_user_agent" ff="$http_x_forwarded_for" sp=$server_protocol tp=$http_x_bfid';

limit_req_zone $binary_remote_addr zone=one:100m rate=300r/s;
limit_req_status 429;
Expand Down
2 changes: 1 addition & 1 deletion container/shim/src/fetchers/lassie.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export async function respondFromLassie(req, res, { cidObj, format }) {
httpStatusCode: lassieRes?.status ?? null,
requestErr,
format,
traceparent: req.headers["x-trace-id"],
traceparent: req.headers["x-bfid"],
serverTiming: lassieRes?.headers.get("server-timing"),
});
}
Expand Down

0 comments on commit c0d4307

Please sign in to comment.