Skip to content

Commit 7ddc8ac

Browse files
feat: enable ipv6 for internal-router (#255)
Co-authored-by: Yaroslav Drachenko <yaroslav@codefresh.io>
1 parent 6584860 commit 7ddc8ac

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,41 @@ data:
66
default.conf.template: |
77
server {
88
listen 80 default_server;
9+
listen [::]:80 default_server;
910
root /usr/local/app;
1011
access_log /dev/stdout main;
1112
error_log /dev/stdout;
12-
13-
13+
14+
1415
location /app-proxy {
1516
# WebSocket support
1617
proxy_http_version 1.1;
1718
proxy_set_header Upgrade $http_upgrade;
1819
proxy_set_header Connection "upgrade";
1920
chunked_transfer_encoding off;
20-
21+
2122
proxy_pass http://cap-app-proxy:3017;
2223
}
23-
24+
2425
location /workflows/ {
2526
# sse
2627
proxy_set_header Connection '';
2728
proxy_http_version 1.1;
2829
chunked_transfer_encoding off;
29-
30+
3031
proxy_pass https://argo-server:2746/;
3132
}
32-
33+
3334
location ~ /webhooks/([^/]+)/([^/]+) {
3435
resolver kube-dns.kube-system.svc.cluster.local valid=10s;
3536
proxy_pass http://$2-eventsource-svc.$1.svc.cluster.local;
3637
}
37-
38+
3839
location /readyz {
3940
return 200 'ok';
4041
}
41-
42+
4243
location /healthz {
4344
return 200 'ok';
4445
}
45-
}
46+
}

0 commit comments

Comments
 (0)