use-regex annotation should be applied to only one Location
This commit is contained in:
parent
ec4fb05cad
commit
a8a8b5f6e9
4 changed files with 11 additions and 55 deletions
|
|
@ -903,9 +903,8 @@ stream {
|
|||
|
||||
{{ buildMirrorLocations $server.Locations }}
|
||||
|
||||
{{ $enforceRegex := enforceRegexModifier $server.Locations }}
|
||||
{{ range $location := $server.Locations }}
|
||||
{{ $path := buildLocation $location $enforceRegex }}
|
||||
{{ $path := buildLocation $location }}
|
||||
{{ $proxySetHeader := proxySetHeader $location }}
|
||||
{{ $authPath := buildAuthLocation $location $all.Cfg.GlobalExternalAuth.URL }}
|
||||
{{ $applyGlobalAuth := shouldApplyGlobalAuth $location $all.Cfg.GlobalExternalAuth.URL }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue