nginx: allow framing jellyfin for webOS app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
91cfc67561
commit
6f438679f6
1 changed files with 10 additions and 1 deletions
|
|
@ -103,7 +103,16 @@ in
|
|||
virtualHosts = {
|
||||
# --- Unprotected (own auth, or by design) ---
|
||||
"auth.nordhammer.it" = proxy 9091; # Authelia portal itself
|
||||
"jellyfin.nordhammer.it" = proxy 8096; # streaming to external clients
|
||||
# Streaming to external clients. The LG webOS app loads jellyfin-web in
|
||||
# an iframe, so X-Frame-Options / frame-ancestors from securityHeaders
|
||||
# blank the screen right after the server URL is entered.
|
||||
"jellyfin.nordhammer.it" = lib.recursiveUpdate (proxy 8096) {
|
||||
locations."/".extraConfig = ''
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
'';
|
||||
};
|
||||
"seerr.nordhammer.it" = proxy 5055; # own auth via Jellyfin sign-in
|
||||
|
||||
# Watch-party relay (services/owncast.nix). Shared basic-auth password
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue