Merge pull request #1398 from decker502/server-snippet
Surpport snippet for server section by the annotation of the ingess
This commit is contained in:
commit
75cccbbd32
6 changed files with 129 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue