nginx reverse proxy and configuration, finally working

Added by Victor TW almost 2 years ago


I was struggling getting tvheadend to work behind nginx proxy_pass. Dispite following the instructions (, all I got was a blank page.

Finally realised that this prevented it from working:
location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ {
expires 7d;
access_log off;

I do not understand why, but with it active I can not access the webui. Commenting it out, it seem to work flawlessly.

Just sharing if someone else are having similar problems.