Skip to content

Commit

Permalink
Update: Allow 'traceparent' header in api Nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
xp-bar committed Jul 2, 2024
1 parent 244ead4 commit 57c23b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbx/templates/default/api.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ server {
<% end %>
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Api-Token,X-Client,X-Database,Jbx-Db,ETag,x-datadog-origin,x-datadog-sampling-priority,x-datadog-parent-id,x-datadog-trace-id';
add_header 'Access-Control-Allow-Headers' 'Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Api-Token,X-Client,X-Database,Jbx-Db,ETag,x-datadog-origin,x-datadog-sampling-priority,x-datadog-parent-id,x-datadog-trace-id,traceparent';
add_header 'Access-Control-Max-Age' 259200;
add_header 'Cache-Control' 'public, max-age=259200';
add_header 'Content-Type' 'text/plain charset=UTF-8';
Expand Down

0 comments on commit 57c23b7

Please sign in to comment.