Hi, I've been running TVHeadend for a while now and recently setup access behind a reverse proxy (with SSL). Through a browser everything works fine. I can access the UI and download recordings etc.
However when I try to download recordings via the VLC app on iOS they fail or an unplayable file is downloaded. If I access TVHeadend directly via the IP address (without SSL) the recordings download just fine as expected on iOS.
I'm at a bit of a loss as to what the problem could be. The only thing changing is whether I'm accessing the files through the proxy or not but they download just fine through the proxy when using a browser. It's only when downloading through VLC on iOS using the proxy there's a problem (VLC on desktop downloads just fine as well).
I'm using NGINX Proxy Manager:
Scheme: http
IP: <<internal IP>>
Port: 9981
Block Common Exploits: Enabled
Websockets Support: Enabled
SSL:
Force SSL Enabled
HSTS: Enabled
Custom NGINX Configuration:
proxy_set_header X-Forwarded-Proto https;
proxy_buffering off;
proxy_set_header Host $host$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Any help would be much appreciated.