support custom configuration to main context of nginx config

This commit is contained in:
Tom Reznik 2018-08-03 21:11:25 +03:00
parent 23ce9b5db1
commit 1bacf1655e
4 changed files with 55 additions and 3 deletions

View file

@ -459,6 +459,9 @@ type Configuration struct {
// Default: 1
JaegerSamplerParam string `json:"jaeger-sampler-param"`
// MainSnippet adds custom configuration to the main section of the nginx configuration
MainSnippet string `json:"main-snippet"`
// HTTPSnippet adds custom configuration to the http section of the nginx configuration
HTTPSnippet string `json:"http-snippet"`