Skip to content

Commit debbe94

Browse files
shaun-nxvepatel
andauthored
Update keyCache path for JWKs to avoid conflict with OIDC (#3583)
Co-authored-by: Venktesh Shivam Patel <[email protected]>
1 parent 37b1fd0 commit debbe94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/configs/version2/nginx-plus.virtualserver.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ match {{ $m.Name }} {
5858

5959
{{ $s := .Server }}
6060
{{ with $s.JWTAuth }}
61-
{{ if .KeyCache }}proxy_cache_path /var/cache/nginx/jwk levels=1 keys_zone=jwk:1m max_size=10m; {{ end }}
61+
{{ if .KeyCache }}proxy_cache_path /var/cache/nginx/jwks_uri levels=1 keys_zone=jwks_uri:1m max_size=10m; {{ end }}
6262
{{ end }}
6363

6464
{{ range $l := $s.Locations }}

0 commit comments

Comments
 (0)