Skip to content

Commit

Permalink
Wrap all opentracing directives in block to check if enabled (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
lw346 authored Oct 5, 2018
1 parent ddf4c83 commit 7f5c7ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ http {

# Status port. This should be firewalled to only allow internal access.
server {
{{ if .OpenTracingPlugin }}
opentracing off;
{{ end }}
listen {{ .HealthPort }} default_server reuseport;
vhost_traffic_status off;

Expand Down

0 comments on commit 7f5c7ba

Please sign in to comment.