diff --git a/ansible/roles/ingress/files/nginx.conf b/ansible/roles/ingress/files/nginx.conf index d3d8e6a..00ca2a2 100644 --- a/ansible/roles/ingress/files/nginx.conf +++ b/ansible/roles/ingress/files/nginx.conf @@ -48,6 +48,8 @@ stream { listen 8448; proxy_pass {{ pve_hosts.docker.ip }}:443; proxy_protocol on; + proxy_socket_keepalive on; + proxy_timeout 1h; } # External routes @@ -56,5 +58,6 @@ stream { proxy_protocol on; proxy_pass {{ pve_hosts.docker.ip }}:443; set_real_ip_from {{ wireguard.server.ip }}; + proxy_socket_keepalive on; } }