Skip to content

Commit bebc686

Browse files
committed
[iam] add proxy route /iam/*
1 parent b4af8a7 commit bebc686

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

components/proxy/conf/Caddyfile

+15
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,21 @@ https://{$GITPOD_DOMAIN} {
280280
}
281281
}
282282

283+
@iam path /iam/*
284+
handle @iam {
285+
286+
gitpod.cors_origin {
287+
any_domain true
288+
}
289+
290+
uri strip_prefix /iam
291+
292+
reverse_proxy iam.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:9002 {
293+
import upstream_headers
294+
import upstream_connection
295+
}
296+
}
297+
283298
@codesync path /code-sync*
284299
handle @codesync {
285300
gitpod.cors_origin {

0 commit comments

Comments
 (0)