Skip to content

Commit 1b867e3

Browse files
Added SNI support for JWT secrets retrieved from HTTPS URL
1 parent f70bfe4 commit 1b867e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ server {
216216
{{- end }}
217217
{{- with .JwksURI }}
218218
proxy_set_header Host {{ .JwksHost }};
219+
proxy_ssl_name {{ .JwksHost }};
220+
proxy_ssl_server_name on;
219221
set $idp_backend {{ .JwksHost }};
220222
proxy_pass {{ .JwksScheme}}://$idp_backend{{ if .JwksPort }}:{{ .JwksPort }}{{ end }}{{ .JwksPath }};
221223
{{- end }}

0 commit comments

Comments
 (0)