Skip to content

Commit

Permalink
Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmprusi committed Apr 27, 2018
1 parent ace78b6 commit 55e05da
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions gateway/conf.d/apicast.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ location = /___http_call {
proxy_set_header X-3scale-OAuth2-Grant-Type $grant_type;
proxy_set_header 3scale-options $options;

# Hack for having a valid openresty config and valid liquid templating
#{% if opentracing_forward_header == nil or opentracing_forward_header == empty %}
# {% assign opentracing_forward_header = "uber-trace-id" %}
#{% endif %}
#{% if opentracing_tracer != nil or opentracing_forward_header != nil %}
# {% capture proxy_set_header_opentracing %}
#{#} proxy_set_header {{opentracing_forward_header}} $http_{{ opentracing_forward_header | replace: "-","_" }};
# {% endcapture %}
# {{ proxy_set_header_opentracing | replace: "#{#}", "" }}
#{% endif %}
# # Hack for having a valid openresty config and valid liquid templating
# #{% if opentracing_forward_header == nil or opentracing_forward_header == empty %}
# # {% assign opentracing_forward_header = "uber-trace-id" %}
# #{% endif %}
# #{% if opentracing_tracer != nil or opentracing_forward_header != nil %}
# # {% capture proxy_set_header_opentracing %}
# #{#} proxy_set_header {{opentracing_forward_header}} $http_{{ opentracing_forward_header | replace: "-","_" }};
# # {% endcapture %}
# # {{ proxy_set_header_opentracing | replace: "#{#}", "" }}
# #{% endif %}

rewrite_by_lua_block {
require('resty.http_ng.backend.ngx'):resolver()
Expand Down

0 comments on commit 55e05da

Please sign in to comment.