So I used chat gpt to come with the following nginx.conf:
and enabled "PROXY protocol & X-Forwarded-For:" after some googling.
This gets me working web interface via https, but no streaming. I noticed the stream urls are still http://. Modifying them to the new https url allowed me to stream.
What is the best approach here to get https streaming ? Can we modify tvheadend to generate the correct stream url, or do we have to make nginx redirect those to the correct one ? How ? I'd like the first approach if possible.
Also, can we have a full tutorial somewhere, it's pretty hard to google and make use of the first page hits, if you don't know what you're doing.