tubbadu, 1 year ago here’s the configuration file for jellyfin: <span style="color:#323232;"># ------------------------------------------------------------ </span><span style="color:#323232;"># jellyfin.tubbadu.duckdns.org </span><span style="color:#323232;"># ------------------------------------------------------------ </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">map $scheme $hsts_header { </span><span style="color:#323232;">https "max-age=63072000; preload"; </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;">server { </span><span style="color:#323232;">set $forward_scheme http; </span><span style="color:#323232;">set $server "192.168.1.13"; </span><span style="color:#323232;">set $port 8096; </span><span style="color:#323232;"> </span><span style="color:#323232;">listen 80; </span><span style="color:#323232;">listen [::]:80; </span><span style="color:#323232;"> </span><span style="color:#323232;">listen 443 ssl; </span><span style="color:#323232;">listen [::]:443 ssl; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">server_name jellyfin.tubbadu.duckdns.org; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Let's Encrypt SSL </span><span style="color:#323232;">include conf.d/include/letsencrypt-acme-challenge.conf; </span><span style="color:#323232;">include conf.d/include/ssl-ciphers.conf; </span><span style="color:#323232;">ssl_certificate /etc/letsencrypt/live/npm-18/fullchain.pem; </span><span style="color:#323232;">ssl_certificate_key /etc/letsencrypt/live/npm-18/privkey.pem; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Block Exploits </span><span style="color:#323232;">include conf.d/include/block-exploits.conf; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade; </span><span style="color:#323232;">proxy_set_header Connection $http_connection; </span><span style="color:#323232;">proxy_http_version 1.1; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">access_log /data/logs/proxy-host-5_access.log proxy; </span><span style="color:#323232;">error_log /data/logs/proxy-host-5_error.log warn; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">location / { </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade; </span><span style="color:#323232;">proxy_set_header Connection $http_connection; </span><span style="color:#323232;">proxy_http_version 1.1; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Proxy! </span><span style="color:#323232;">include conf.d/include/proxy.conf; </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Custom </span><span style="color:#323232;">include /data/nginx/custom/server_proxy[.]conf; </span><span style="color:#323232;">} </span>
here’s the configuration file for jellyfin:
<span style="color:#323232;"># ------------------------------------------------------------ </span><span style="color:#323232;"># jellyfin.tubbadu.duckdns.org </span><span style="color:#323232;"># ------------------------------------------------------------ </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">map $scheme $hsts_header { </span><span style="color:#323232;">https "max-age=63072000; preload"; </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;">server { </span><span style="color:#323232;">set $forward_scheme http; </span><span style="color:#323232;">set $server "192.168.1.13"; </span><span style="color:#323232;">set $port 8096; </span><span style="color:#323232;"> </span><span style="color:#323232;">listen 80; </span><span style="color:#323232;">listen [::]:80; </span><span style="color:#323232;"> </span><span style="color:#323232;">listen 443 ssl; </span><span style="color:#323232;">listen [::]:443 ssl; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">server_name jellyfin.tubbadu.duckdns.org; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Let's Encrypt SSL </span><span style="color:#323232;">include conf.d/include/letsencrypt-acme-challenge.conf; </span><span style="color:#323232;">include conf.d/include/ssl-ciphers.conf; </span><span style="color:#323232;">ssl_certificate /etc/letsencrypt/live/npm-18/fullchain.pem; </span><span style="color:#323232;">ssl_certificate_key /etc/letsencrypt/live/npm-18/privkey.pem; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Block Exploits </span><span style="color:#323232;">include conf.d/include/block-exploits.conf; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade; </span><span style="color:#323232;">proxy_set_header Connection $http_connection; </span><span style="color:#323232;">proxy_http_version 1.1; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">access_log /data/logs/proxy-host-5_access.log proxy; </span><span style="color:#323232;">error_log /data/logs/proxy-host-5_error.log warn; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">location / { </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade; </span><span style="color:#323232;">proxy_set_header Connection $http_connection; </span><span style="color:#323232;">proxy_http_version 1.1; </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Proxy! </span><span style="color:#323232;">include conf.d/include/proxy.conf; </span><span style="color:#323232;">} </span><span style="color:#323232;"> </span><span style="color:#323232;"> </span><span style="color:#323232;"># Custom </span><span style="color:#323232;">include /data/nginx/custom/server_proxy[.]conf; </span><span style="color:#323232;">} </span>