Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Reverse proxy problems.

Featured Replies

Hi, 

 

I am a low-skill student with Unraid and all things server.  I have been using Unraid for about 3 years, mostly as a media server and for home labs. I know bugger all about docker except the absolute basics.

 

The issue:

I have been attempting to run a reverse proxy for my Jellyfin following the guides from Ibracorp and Spaceinvaderone. My Cloudflare and domain are communicating as expected, however, I cannot get to my Jellyfin instance through my domain.

I have my docker containers set on a custom Docker network as prescribed in the documentation. I can ping from each of the containers to 1.1.1.1 or cnn.com. When I try to open my page from nginx I get a 522 error.

 

It seems like there is a communication error between the nginx container and the Jellyfin container, but I don't know how to test for these things.

 

This is my first post as I have usually been able to find information on here, the internet, or youtube university to fix my issues but after 3 days of trying, removing containers, reinstalling, and trying different RPMs (SWAG and Nginx), checking config over and over again, I am totally lost.

 

I would greatly appreciate any help people are willing to offer or point me in the right direction for my issues.

 

Thanks.

valkyrja-diagnostics-20240822-1115.zip

Solved by _0din

Are you using SWAG or NPM?  Did you forward port 80 and 443 external port to the proper internal port that you setup on your docker template.  NginxProxyManager is much easier to configure if that matters.

  • Author

Hi,

Thanks for the fast reply.

 

I am using Nginx as I couldn't wrap my head around swag and have had it working a couple of years ago with nginx. 

 

I have my port forwarding info below: router is a ZTE ZXHN H1600

Screenshot 2024-08-22 120045.png

  • Author

Oh and here are the nginx ports:

Screenshot 2024-08-22 120414.png

Forward should work but no need to forward 2 ports for each.  It should be 443-443 Wan and 18443-18443 Lan and 80-80 Wan and 1880-1880 Lan.  Can you ping the your URL for jellyfin that you have setup from cloudflare?

  • Author

I might be able to, but I don't know how.. lol.. this is the noob bit :).

 

I have my clouflare account open, and the status is 'proxied' for the cname record of the website. 

 

 Where would I find the console or place to do that in my cloudflare page?

 

This is the message  I get when I attempt to login through my site, which make me think it is working?

 

Edited by _0din

  • Author
  • Solution

OMG.. I hadn't updated the A Record ip.. 

 

Ok So I can ping your URL.  I would remove that picture so you don't have your URL for everyone to see.  In Nginx proxy manager you should have scheme set to HTTP not HTTPS.  Also is NPM returning a proper SSL certificate.

 

  • Author

Sorry about that. that solved one problem.

I now can connect to the jellyfin, but a new issue has arisen:

 

its asking me to select a server and is I try my server ip and port it throws an error..  progress?

 

There is a docker container called Cloudflare-DDNS by selfhosters that you can run to keep your dynamic IP upto date.  Spaceinvader one has a video on this.

Try and clear browser cache

 

  • Author

I have just changed to a static IP and forgot to change it. so I can now get to the jellyfin page but it now asks for a server

Screenshot 2024-08-22 123628.png

  • Author

After clearing cache and opening a different browser in private mode I still get this:

Screenshot 2024-08-22 123842.png

Does it work from the webgui?  When you added your IP did you included the port such as 192.168.1.50:8096

  • Author

Yeah, on local net it works fine.

 

I try this and get the error

 

Screenshot 2024-08-22 124538.png

Make sure “Allow remote connections to this server” is enabled on the Jellyfin server (Administration | Dashboard | Advanced | Networking)

  • Author

It seems correct..

 

Screenshot 2024-08-22 130434.png

Not to sure then.  I actually use Plex.  Try and post in Jellyfin support page.

  • Author

That sounds like a good idea.

 

Thank you very much for all your help. you got me a lot further than I have been able to get for a few days now..lol

 

If I find a solution I will post it here.

 

Thankyou again :)

Hey wondering if you got your Jellyfin working.  I asked my son about it and when it says add a server try and use your web URL with https:// again and not the ip and port number.  Seems odd to me but maybe worth a shot.

  • 1 month later...
  • Author

Hi Gragorg,

 

Sorry it has taken so long to reply, but yes, I figured it out about about a month ago. Sorry, I didn't get back to you I got distracted by life and forgot to reply.

 

In the Cloudflare cname I miskeyed one of the IP addresses and because I was looking at it so many times, I just glanced over it about 100 times before I finally noticed it. 

 

Again thanks for all the help, we were on the right track, but you type two numbers in the wrong order and it's all kaput!.. :)

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.