Merge pull request #1398 from decker502/server-snippet

Surpport snippet for server section by the annotation of the ingess
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-09-27 10:44:07 -07:00 committed by GitHub
commit 75cccbbd32
6 changed files with 129 additions and 0 deletions

View file

@ -602,6 +602,10 @@ stream {
{{ end }}
{{ end }}
{{ if not (empty $server.ServerSnippet) }}
{{ $server.ServerSnippet }}
{{ end }}
{{ range $location := $server.Locations }}
{{ $path := buildLocation $location }}
{{ $authPath := buildAuthLocation $location }}