Jellyfin Forum
Admin local login only with Nginx Proxy Manager - 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: Admin local login only with Nginx Proxy Manager (/t-admin-local-login-only-with-nginx-proxy-manager)

Pages: 1 2


RE: Admin local login only with Nginx Proxy Manager - Buzzi - 2024-07-27

That works !

I found the IP with the commands you provided (172.19.0.2).
In "Known Proxy" I entered the two IPs "172.19.0.2,192.168.1.20".

Thanks !


Is it better to use Nginx in Host rather than Bridge ?
I will just have to enter "jellyfin.mydomain.com" in "Know Proxy" right ?


RE: Admin local login only with Nginx Proxy Manager - TheDreadPirate - 2024-07-28

Practically speaking it doesn't make a difference.

You do not put your domain in known proxies. It is only for IPs of proxies, like Nginx.

Also, backing up a bit, I do not recommend using Cloudflare to proxy your jellyfin since you already using https. It is against Cloudflare's TOS to stream video through their free proxy service. Switch it to DNS only.


RE: Admin local login only with Nginx Proxy Manager - Buzzi - 2024-07-28

Ok I disable Cloudflare Proxies, and now it's DNS only.
   

but now I can still connect remotely.
The client IP when I connect is 172.19.0.1


RE: Admin local login only with Nginx Proxy Manager - TheDreadPirate - 2024-07-28

And if you add that IP to the known proxies? What container is assigned that IP? Is that the bridge itself?


RE: Admin local login only with Nginx Proxy Manager - Buzzi - 2024-07-28

I've tried various things, here's where I am.

My steup :
- The PC is on Windows 11.
- Jellyfin is just install on Windows
- NPM is install via Docker Compose and Docker Desktop

Here is the .yml
Code:
version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    container_name: NPM
    restart: unless-stopped
    ports:
      # These ports are in format <host-port>:<container-port>
      - '80:80' # Public HTTP Port
      - '443:443' # Public HTTPS Port
      - '81:81' # Admin Web Port

    volumes:
      - C:\Docker\Nginx\data:/data
      - C:\Docker\Nginx\letsencrypt:/etc/letsencrypt
      - C:\Docker\Nginx\_hsts.conf:/app/templates/_hsts.conf:ro



The machine's IP is : 192.168.1.20
NPM's IP is : 172.18.0.2 (obtained with the command "docker inspect NPM | findstr IPAddres"
Docker Desktop's IP is : 192.168.65.0/24


I tried all possible IP combinations in "Known Proxies". they all allow remote connection.
Here are the client IPs obtained :
   


RE: Admin local login only with Nginx Proxy Manager - TheDreadPirate - 2024-07-28

I guess try switching to host networking.

Add "network_mode: host" to your docker compose.


RE: Admin local login only with Nginx Proxy Manager - Buzzi - 2024-08-01

I tried to launch Nginx in host mode, but without success. I gave up and switched to Tailscale.