We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb02b6 commit c1d9ae9Copy full SHA for c1d9ae9
components/proxy/conf/Caddyfile
@@ -262,6 +262,11 @@ https://{$GITPOD_DOMAIN} {
262
}
263
264
265
+# public-api
266
+https://api.{$GITPOD_DOMAIN} {
267
+ reverse_proxy public-api-server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:9000
268
+}
269
+
270
# workspaces
271
https://*.*.{$GITPOD_DOMAIN} {
272
import enable_log
components/public-api-server/main.go
@@ -22,6 +22,10 @@ func main() {
22
logger.WithError(err).Fatal("Failed to initialize public api server.")
23
24
25
+ if err := register(srv); err != nil {
26
+ logger.WithError(err).Fatal("Failed to register services.")
27
+ }
28
29
if listenErr := srv.ListenAndServe(); listenErr != nil {
30
logger.WithError(listenErr).Fatal("Failed to serve public api server")
31
0 commit comments