Skip to content

feat: enable ipv6 for internal-router #255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions csdp/hybrid/basic/apps/internal-router/internal-router.cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,41 @@ data:
default.conf.template: |
server {
listen 80 default_server;
listen [::]:80 default_server;
root /usr/local/app;
access_log /dev/stdout main;
error_log /dev/stdout;
location /app-proxy {
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
chunked_transfer_encoding off;
proxy_pass http://cap-app-proxy:3017;
}
location /workflows/ {
# sse
proxy_set_header Connection '';
proxy_http_version 1.1;
chunked_transfer_encoding off;
proxy_pass https://argo-server:2746/;
}
location ~ /webhooks/([^/]+)/([^/]+) {
resolver kube-dns.kube-system.svc.cluster.local valid=10s;
proxy_pass http://$2-eventsource-svc.$1.svc.cluster.local;
}
location /readyz {
return 200 'ok';
}
location /healthz {
return 200 'ok';
}
}
}