Ensure ingress proxy doesn't terminate connections
This mostly works around a weird issues with Jellyfin
This commit is contained in:
parent
2ff2128330
commit
943c141d59
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,8 @@ stream {
|
||||||
listen 8448;
|
listen 8448;
|
||||||
proxy_pass {{ pve_hosts.docker.ip }}:443;
|
proxy_pass {{ pve_hosts.docker.ip }}:443;
|
||||||
proxy_protocol on;
|
proxy_protocol on;
|
||||||
|
proxy_socket_keepalive on;
|
||||||
|
proxy_timeout 1h;
|
||||||
}
|
}
|
||||||
|
|
||||||
# External routes
|
# External routes
|
||||||
|
@ -56,5 +58,6 @@ stream {
|
||||||
proxy_protocol on;
|
proxy_protocol on;
|
||||||
proxy_pass {{ pve_hosts.docker.ip }}:443;
|
proxy_pass {{ pve_hosts.docker.ip }}:443;
|
||||||
set_real_ip_from {{ wireguard.server.ip }};
|
set_real_ip_from {{ wireguard.server.ip }};
|
||||||
|
proxy_socket_keepalive on;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue