diff options
author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-02-02 19:51:54 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2025-02-02 19:51:54 -0800 |
commit | f26c0c497afd282b3ed01339eeae05ea8a62bde2 (patch) | |
tree | 32d087ce63c13353d57fd5f19541596621a43a9a | |
parent | efc919065eb3fcf142007c863542e1b8858b259e (diff) | |
download | oldinfra-f26c0c497afd282b3ed01339eeae05ea8a62bde2.tar.gz oldinfra-f26c0c497afd282b3ed01339eeae05ea8a62bde2.zip |
make jellyfin routable from my tv
-rw-r--r-- | roles/private/files/europa/http.jellyfin.internal.simponic.xyz.conf | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/roles/private/files/europa/http.jellyfin.internal.simponic.xyz.conf b/roles/private/files/europa/http.jellyfin.internal.simponic.xyz.conf index 7c11e5e..cb50fe3 100644 --- a/roles/private/files/europa/http.jellyfin.internal.simponic.xyz.conf +++ b/roles/private/files/europa/http.jellyfin.internal.simponic.xyz.conf @@ -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; } } |