Skip to content

Commit 8e9e090

Browse files
committed
[public-api] Route api.<domain> to public api service & deployment
1 parent 1998a98 commit 8e9e090

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/proxy/conf/Caddyfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,15 @@ https://{$GITPOD_DOMAIN} {
262262
}
263263
}
264264

265+
# public-api
266+
https://api.{$GITPOD_DOMAIN} {
267+
@backend_public_api_http {}
268+
handle @backend_public_api_http {
269+
reverse_proxy public-api-server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:9000 {
270+
}
271+
}
272+
}
273+
265274
# workspaces
266275
https://*.*.{$GITPOD_DOMAIN} {
267276
import enable_log

0 commit comments

Comments
 (0)