Revert "use-regex annotation should be applied to only one Location"
This reverts commit a8a8b5f6e9.
This commit is contained in:
parent
51a661d666
commit
dc3876666b
4 changed files with 55 additions and 11 deletions
|
|
@ -903,8 +903,9 @@ stream {
|
|||
|
||||
{{ buildMirrorLocations $server.Locations }}
|
||||
|
||||
{{ $enforceRegex := enforceRegexModifier $server.Locations }}
|
||||
{{ range $location := $server.Locations }}
|
||||
{{ $path := buildLocation $location }}
|
||||
{{ $path := buildLocation $location $enforceRegex }}
|
||||
{{ $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