jellyfin-archive / jellyfin-docs

Documentation for Jellyfin
https://jellyfin.org
Creative Commons Attribution Share Alike 4.0 International
143 stars 220 forks source link

Add nginx HTTPS example config for subpath method #690

Closed le-roux closed 2 years ago

le-roux commented 2 years ago

The existing nginx config for the subpath method doesn't include the necessary elements to use HTTPS (contrary to the subdomain one). In addition to the new server entry, the proxy_pass value is updated to remove the /jellyfin/ suffix which creates an infinite redirect loop (as explained in https://www.reddit.com/r/jellyfin/comments/duhwjd/nginx_infinite_redirect_loop_after_upgrading_to/)

Shadowghost commented 2 years ago

The linter found some issues but that aside this should be fine. Didn't test it though.

le-roux commented 2 years ago

This config has been tested OK with :