11 hours ago
Hello, I'm seeking some help! <3
I don’t understand how to properly set up Jellyfin and Nginx Proxy Manager so that I don’t always see the same IP (the one from the proxy or the IPv4 IPAM gateway of the NPM container network) in Jellyfin’s logs.
My DynDNS and Reverse Proxy are working fine (I've been using Jellyfin this way for a week already).
Jellyfin is running in a container with the option network_mode: "host"
NPM is running in a container with its own Docker network
I don’t understand the documentation (https://jellyfin.org/docs/general/networking/nginx), and ChatGPT suggested adding the following lines to the Custom Nginx Configuration of my Jellyfin Reverse Proxy:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
I also added the IP address of NPM and the IPv4 IPAM gateway of the NPM container network to the known proxies list in Jellyfin, but it still shows the same IP address for all my clients. (I restarted Jellyfin and NPM after making these changes.)
When I access Jellyfin directly without using the reverse proxy locally, the IP address shown is the local IP of my computer, so I assume the issue comes from NPM.
If anyone has an idea, please help! This isn’t a big issue right now, but I’m a bit concerned about not knowing who is actually on my network!
Thanks!
I don’t understand how to properly set up Jellyfin and Nginx Proxy Manager so that I don’t always see the same IP (the one from the proxy or the IPv4 IPAM gateway of the NPM container network) in Jellyfin’s logs.
My DynDNS and Reverse Proxy are working fine (I've been using Jellyfin this way for a week already).
Jellyfin is running in a container with the option network_mode: "host"
NPM is running in a container with its own Docker network
I don’t understand the documentation (https://jellyfin.org/docs/general/networking/nginx), and ChatGPT suggested adding the following lines to the Custom Nginx Configuration of my Jellyfin Reverse Proxy:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
I also added the IP address of NPM and the IPv4 IPAM gateway of the NPM container network to the known proxies list in Jellyfin, but it still shows the same IP address for all my clients. (I restarted Jellyfin and NPM after making these changes.)
When I access Jellyfin directly without using the reverse proxy locally, the IP address shown is the local IP of my computer, so I assume the issue comes from NPM.
If anyone has an idea, please help! This isn’t a big issue right now, but I’m a bit concerned about not knowing who is actually on my network!
Thanks!