Ensure ingress proxy doesn't terminate connections
All checks were successful
/ terraform (push) Successful in 1m6s
/ ansible (push) Successful in 2m16s

This mostly works around a weird issues with Jellyfin
This commit is contained in:
Jake Howard 2023-12-14 22:08:02 +00:00
parent 2ff2128330
commit 943c141d59
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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;
} }
} }