Nginx Proxy Manager: Custom locations don't work - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: Nginx Proxy Manager: Custom locations don't work (/t-nginx-proxy-manager-custom-locations-don-t-work) Pages:
1
2
|
Nginx Proxy Manager: Custom locations don't work - Iacov - 2024-02-20 hey currently i have no custom locations defined in my nginx proxy manager - and per se everything is working fine yet i'm sure that there is a reason, why there is a tutorial on nginx proxy manager that specifically tell you to add two custom locations Nginx | Jellyfin i have added the custom location like in the screenshot below - the proxy host immediately turns from green (online) to red (offline) no matter if i add "/" or "/socket" - what am i doing wrong in adding the locations? - are those custom locations actually needed? - what are they needed for? (if it matters, i only use npm for "nice" fqdn's within my lan, no wan exposure) RE: Nginx Proxy Manager: Custom locations don't work - niels - 2024-02-20 Never used Nginx Proxy Manager but it feels like you need to remove that first line that says LOCATION: /
RE: Nginx Proxy Manager: Custom locations don't work - TheDreadPirate - 2024-02-20 Do you have "Cache assets" enabled? If so, disable it. RE: Nginx Proxy Manager: Custom locations don't work - Iacov - 2024-02-20 (2024-02-20, 05:56 PM)niels Wrote: Never used Nginx Proxy Manager but it feels like you need to remove that first line that says i tried, but there's no difference, unfortunately (2024-02-20, 07:03 PM)TheDreadPirate Wrote: Do you have "Cache assets" enabled? If so, disable it. yes, it's enabled per the linked guide normally i never activate it with my proxy hosts - why should i disable it with jellyin? (vs the documentation stating to activate it) RE: Nginx Proxy Manager: Custom locations don't work - TheDreadPirate - 2024-02-20 Along the same line of thinking as Niel, did you completely copy and paste that section from the guide? Both for / and /socket? First, remove "LOCATION: /" and "LOCATION: /socket" Click on "Add location" named /socket and copy the appropriate section from our doc. Cache assets can cause weird transcoding issues. Specifically if you set a maximum bit rate for remote clients, it won't be honored when caching is enabled. It can sometimes cause the transcode bit rate to be stupid high, which can break some encoders and cause massive quality issues. RE: Nginx Proxy Manager: Custom locations don't work - Iacov - 2024-02-20 (2024-02-20, 07:37 PM)TheDreadPirate Wrote: Along the same line of thinking as Niel, did you completely copy and paste that section from the guide? Both for / and /socket? First, remove "LOCATION: /" and "LOCATION: /socket" i've added "/socket" and only copied the rest of the code block in there...but still the proxy client changes to red/offline should the code block actually go into the custom location config or should it go into "advanced"? RE: Nginx Proxy Manager: Custom locations don't work - TheDreadPirate - 2024-02-20 Can you show us the Details page? Censor the domain. Also, your LAN IP is not sensitive so you don't need to censor that. RE: Nginx Proxy Manager: Custom locations don't work - Iacov - 2024-02-20 i have asked bing chat/copilot to translate the code snippets into code for the "advanced" tab...i unfortunately lack the skill to a) assess if the code is correct and b) the knowledge to verify wether the code works the proxy client is green/online though Code: location /socket { will edit with a picture of the detail page detail site is attached - but i don't think that i messed up there, as using jellyfin and streaming a movie worked btw, why are the custom locations for / and /socket needed? edit2: the "rewritten" custom location does not work...the client is online, but i end up on the "welcome to openresty" page RE: Nginx Proxy Manager: Custom locations don't work - TheDreadPirate - 2024-02-20 Just so we're clear, the code block in your last post. You don't have that entire thing in BOTH / and /socket, right? RE: Nginx Proxy Manager: Custom locations don't work - Iacov - 2024-02-21 (2024-02-20, 09:15 PM)TheDreadPirate Wrote: Just so we're clear, the code block in your last post. You don't have that entire thing in BOTH / and /socket, right? no, of course not xD i did enter it in the "advanced" tab, where you can manually define a custom location (i did have to solve it similarily for my pihole) when posting the individual code blocks (as per the linked guide) into the configuration for the custom location (in the "custom location" tab), i get the offline client so the furthest i've come: - posting official config into custom location tab -> offline proxy client - adapting official config with bing chat for "advanced"-tab syntax and posting it in there -> online proxy client, but wrong forwarding (ending up on "welcome to openresty" page) i still don't understand why i need the "/" and "/socket" custom location, but as it is in the documentation, i want to abide to it |