make jellyfin routable from my tv

This commit is contained in:
Elizabeth Hunt 2025-02-02 19:51:54 -08:00
parent efc919065e
commit f26c0c497a
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE

View File

@ -8,6 +8,15 @@ server {
}
location / {
rewrite ^ https://jellyfin.internal.simponic.xyz$request_uri? permanent;
proxy_pass http://127.0.0.1:8096;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $server_name;
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
}
}