• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access CSP

     
    • 0 Vote(s) - 0 Average

    CSP

    How to: CSP + Traefik
    Partition
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-04-29, 06:19 PM
    Hey,
    I'm struggeling with a proper solution regarding Jellyfin's Content Security Policy.
    My current traefik setup follows the general recommendations from the official Traefik v2 guide , but it's missing a good csp header solution for an A+ website certificate.
    This topic also has 5 year old feature requests, but I doubt anything is planned at the moment:
    • https://features.jellyfin.org/posts/95/implement-a-safe-content-security-policy 
    • https://features.jellyfin.org/posts/155/csp-compatibility-some-websecurity-standards

    My current config looks like this:

    Code:
    contentsecuritypolicy: "  base-uri 'none';  connect-src 'self';  default-src 'none';  font-src 'self';  form-action 'self';  frame-ancestors 'none';  frame-src 'self';  img-src 'self';  media-src 'self' data:;  object-src 'none';  script-src 'self';  style-src 'self'"

    It accomplishes an A+ certificate ( otherwise it's only B ), but I'm unable to resolve the jellyfin subdomain from a browser and the mobile app. The webpage is completely broken, but some apps like the one for Windows and Android TV work.
    What should I change in my CSP header config to have a usable webpage untill / if the features get implemented?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    CSP - by Partition - 2024-04-29, 06:19 PM
    RE: CSP - by niels - 2024-04-29, 07:02 PM
    RE: CSP - by Partition - 2024-04-29, 09:37 PM
    RE: CSP - by niels - 2024-04-30, 05:37 AM
    RE: CSP - by Partition - 2024-04-30, 08:09 AM
    RE: CSP - by niels - 2024-04-30, 08:13 AM
    RE: CSP - by Partition - 2024-04-30, 08:39 AM
    RE: CSP - by niels - 2024-04-30, 08:42 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode