Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Add Traefik v2.x instructions #365

Merged
merged 22 commits into from
Jul 22, 2020
Merged

Conversation

michaelkrieger
Copy link
Contributor

@michaelkrieger michaelkrieger commented Jun 23, 2020

Resolves #213
I have added a full guide to using Traefik v2.x with Jellyfin, using as much 'dynamic' configuration of Jellyfin as possible/reasonable.
I tried to make it well commented, including items not directly associated with this configuration, so it is an easy-to-adapt configuration.

I have tested this configuration as working (with the DNS-01 provider) using host networking and with DLNA, but added the necessary blocks for HTTP-01 ACME configuration as well.

Copy link
Contributor Author

@michaelkrieger michaelkrieger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing space that was causing a build error

@michaelkrieger
Copy link
Contributor Author

This should resolve #213

Sorry for all the updates- wanted to get the checks/lint perfect and add a but more detail in a few areas.
Should be fairly solid now.

Change title to include version
Fix a spelling error
Clarify HOST_NAME vs DOMAIN_NAME vs HOST_NAME.DOMAIN_NAME to provide a better configuration and combine note about updating it.
Minor fix to commented out reference which had an error.
Provide a redirect from http to https on the same port (by providing a non-TLS router on the same port), catching in case someone misses the https when entering the URL (previously provided a 404).
Minor improvements to commented sections.
TLS default options were not taking effect in the main configuration vs a provider configuration. Moved to provider configuration.
Added TLS sniStrict and curvePreferences (sniStrict disabled would leave TLS1.0 open).
Minor configuration tweaks to improve readability and function.
Made configuration, by default, not use a Path and made it clearer how to add one
Made the jellyfin-insecure redirect point to a no-op service to clean up the dashboard, even though it redirects before it gets to the service.
Sample URL removed as it is not permitted.
@michaelkrieger
Copy link
Contributor Author

Okay- I think I'm done at this point and the configuration is solid and well-tested. More detail (but well commented) was the goal so that it's easy to follow, even if it makes it longer. The configuration meets all security standards, works reliably, etc.

Open to any comments, but otherwise it should be good to go.

@Artiume Artiume merged commit 07facbf into jellyfin-archive:master Jul 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Administration/Reverse Proxy: Update config for Traefik 2.0
4 participants