File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,11 @@ https://{$GITPOD_DOMAIN} {
262
262
}
263
263
}
264
264
265
+ # public-api
266
+ https ://api. {$GITPOD_DOMAIN} {
267
+ reverse_proxy public-api-server.{$KUBE_NAMESPACE} .{$KUBE_DOMAIN} :9000
268
+ }
269
+
265
270
# workspaces
266
271
https ://*.*. {$GITPOD_DOMAIN} {
267
272
import enable_log
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ func main() {
22
22
logger .WithError (err ).Fatal ("Failed to initialize public api server." )
23
23
}
24
24
25
+ if err := register (srv ); err != nil {
26
+ logger .WithError (err ).Fatal ("Failed to register services." )
27
+ }
28
+
25
29
if listenErr := srv .ListenAndServe (); listenErr != nil {
26
30
logger .WithError (listenErr ).Fatal ("Failed to serve public api server" )
27
31
}
You can’t perform that action at this time.
0 commit comments