Surpport snippet for server section by the annotation of the ingess
This commit is contained in:
parent
37bd14dcd2
commit
407d8535da
6 changed files with 137 additions and 0 deletions
|
|
@ -591,6 +591,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