File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
csdp/hybrid/basic/apps/internal-router Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 6
6
default.conf.template : |
7
7
server {
8
8
listen 80 default_server;
9
+ listen [::]:80 default_server;
9
10
root /usr/local/app;
10
11
access_log /dev/stdout main;
11
12
error_log /dev/stdout;
12
-
13
-
13
+
14
+
14
15
location /app-proxy {
15
16
# WebSocket support
16
17
proxy_http_version 1.1;
17
18
proxy_set_header Upgrade $http_upgrade;
18
19
proxy_set_header Connection "upgrade";
19
20
chunked_transfer_encoding off;
20
-
21
+
21
22
proxy_pass http://cap-app-proxy:3017;
22
23
}
23
-
24
+
24
25
location /workflows/ {
25
26
# sse
26
27
proxy_set_header Connection '';
27
28
proxy_http_version 1.1;
28
29
chunked_transfer_encoding off;
29
-
30
+
30
31
proxy_pass https://argo-server:2746/;
31
32
}
32
-
33
+
33
34
location ~ /webhooks/([^/]+)/([^/]+) {
34
35
resolver kube-dns.kube-system.svc.cluster.local valid=10s;
35
36
proxy_pass http://$2-eventsource-svc.$1.svc.cluster.local;
36
37
}
37
-
38
+
38
39
location /readyz {
39
40
return 200 'ok';
40
41
}
41
-
42
+
42
43
location /healthz {
43
44
return 200 'ok';
44
45
}
45
- }
46
+ }
You can’t perform that action at this time.
0 commit comments