fix update template

This commit is contained in:
Tore S. Loenoey 2023-11-23 11:59:11 +01:00 committed by Tore Stendal Lønøy
parent 3a2e8b476f
commit 1f021724bd
No known key found for this signature in database

View file

@ -1057,7 +1057,7 @@ stream {
{{ range $location := $server.Locations }}
{{ $path := buildLocation $location $enforceRegex }}
{{ $proxySetHeader := proxySetHeader $location }}
{{ $authPath := buildAuthLocation $location $all.Cfg.GlobalExternalAuth.URL }}
{{ $authPath := buildAuthLocation $location $all.Cfg.GlobalExternalAuth.URL $all.Cfg.GlobalExternalAuth.DefaultEnable }}
{{ $applyGlobalAuth := shouldApplyGlobalAuth $location $all.Cfg.GlobalExternalAuth.URL $all.Cfg.GlobalExternalAuth.DefaultEnable }}
{{ $applyAuthUpstream := shouldApplyAuthUpstream $location $all.Cfg }}