Skip to content
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

Increase GK timeout #327

Merged
merged 7 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions k8s/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ metadata:
cert-manager.io/issuer: letsencrypt-sckan-composer
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/auth-keepalive-timeout: "600"
nginx.ingress.kubernetes.io/proxy-body-size: 512m
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
name: sckan-composer-web-nginx-ingress
spec:
rules:
Expand Down
12 changes: 11 additions & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ server {
root /usr/share/nginx/html/;
# index index.html index.htm;
try_files $uri /index.html;
proxy_connect_timeout 9000;
proxy_send_timeout 9000;
proxy_read_timeout 9000;
send_timeout 9000;
fastcgi_read_timeout 9000;
}

location ~* ^/(admin|api|logged-out|login|composer|complete|disconnect|__debug__)/.*$ {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
proxy_connect_timeout 9000;
proxy_send_timeout 9000;
proxy_read_timeout 9000;
send_timeout 9000;
fastcgi_read_timeout 9000;
proxy_pass http://composer;
}

Expand Down