Skip to content

Commit b698118

Browse files
GackoStevenjin8
andauthored
Template: Remove path from comment. (#14730)
Co-authored-by: Steven Jin Xuan <sjinxuan@microsoft.com>
1 parent 77641d3 commit b698118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootfs/etc/nginx/template/nginx.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ http {
619619
{{ $applyGlobalAuth := shouldApplyGlobalAuth $location $all.Cfg.GlobalExternalAuth.URL }}
620620
{{ $applyAuthUpstream := shouldApplyAuthUpstream $location $all.Cfg }}
621621
{{ if and (eq $applyAuthUpstream true) (eq $applyGlobalAuth false) }}
622-
## start auth upstream {{ $server.Hostname }}{{ $location.Path }}
622+
## start auth upstream {{ $server.Hostname }}
623623
upstream {{ buildAuthUpstreamName $location $server.Hostname }} {
624624
{{- $externalAuth := $location.ExternalAuth }}
625625
server {{ extractHostPort $externalAuth.URL }};
@@ -628,7 +628,7 @@ http {
628628
keepalive_requests {{ $externalAuth.KeepaliveRequests }};
629629
keepalive_timeout {{ $externalAuth.KeepaliveTimeout }}s;
630630
}
631-
## end auth upstream {{ $server.Hostname }}{{ $location.Path }}
631+
## end auth upstream {{ $server.Hostname }}
632632
{{ end }}
633633
{{ end }}
634634
{{ end }}

0 commit comments

Comments
 (0)