Skip to content

Commit b03aeca

Browse files
committed
use svc for profile ws also
1 parent 79acffb commit b03aeca

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

chart/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ spec:
4848
role: browser
4949

5050
ports:
51+
- protocol: TCP
52+
port: 6080
53+
name: browser-vnc-ws
54+
5155
- protocol: TCP
5256
port: 9223
5357
name: browser-api

frontend/frontend.conf.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,12 @@ server {
125125
set $browserid $1;
126126
set $auth_bearer $arg_auth_bearer;
127127
set $org $arg_oid;
128+
set $svc_suffix ".browser";
128129
set $fqdn_suffix "${CRAWLER_FQDN_SUFFIX}";
129130

130131
auth_request /access_check_profiles;
131132

132-
proxy_pass http://browser-$browserid.browser$fqdn_suffix:6080/websockify;
133+
proxy_pass http://browser-$browserid.browser$svc_suffix$fqdn_suffix:6080/websockify;
133134
proxy_set_header Host "localhost";
134135

135136
proxy_send_timeout 10m;

0 commit comments

Comments
 (0)