diff --git a/kubernetes/nginx/frontend.conf b/kubernetes/nginx/frontend.conf index 272d355..c116a75 100644 --- a/kubernetes/nginx/frontend.conf +++ b/kubernetes/nginx/frontend.conf @@ -1,9 +1,11 @@ upstream hello { server hello.default.svc.cluster.local; + keepalive 2; } upstream auth { server auth.default.svc.cluster.local; + keepalive 2; } server { @@ -13,6 +15,9 @@ server { ssl_certificate /etc/tls/cert.pem; ssl_certificate_key /etc/tls/key.pem; + proxy_http_version 1.1; + proxy_set_header Connection ""; + location / { proxy_pass http://hello; } @@ -20,4 +25,5 @@ server { location /login { proxy_pass http://auth; } + }