TrueNas Scale config reverse proxy with NGINX proxy manager

Hello. I am very confused about the use of the “Nginx proxy manager” app.

I have this problem that I readed in the old forum:

On the official docs, there are no documentation about this app:

I have an truenas installation:

I have the ssl cert configured in the Ningx app, but I tried some ways to setup the domain with the 2 locations and never works. I have ports 80/443 opened pointint to my truenas IP (192.168.1.100)

What I am missing? Maybe the native truenas ngingx app can’t be configured on this way? Ningx app logs don’t show errors (no shows nothing really…)

I think you should point 80 and 443 to nginx and use something else for truenas (81 444, just and example how im doing It). Then add truenas as a proxy host
dont do it, i was wrong

Yep, but Nginx Proxy Manager from Truenas catalog can’t listen in ports below 9000 :frowning:

This can be enabled in some place? Or I have to go and try Ngingx Proxy Manager using a custom app and configure the ports manually?

I really don’t know that, in case wait someone else opinion, or just go with the custom app

  app:
    environment:
      DB_SQLITE_FILE: /data/database.sqlite
    image: jc21/nginx-proxy-manager:latest
    ports:
      - '30019:80'
      - '30020:81'
      - '30021:443'
    restart: always
    volumes:
      - nginx_data:/data
      - nginx_letsencrypt:/etc/letsencrypt
version: '3.8'
volumes:
  nginx_data:
    //
  nginx_letsencrypt:
   //

Im using It with this simple configuration

See Nginx Proxy Manager - Configuration Tips (especially if you are stuck at Deploying) .

1 Like

The port forwarding (from the default ports to 80/443), instead of changing the default ports of the TN GUI, Is somehow better for any reason that im missing?

edit: i answer myself, and i have correct my above post.
Using nginx at 80/443 avoid the possibility to connect via ssh from 2 different truenas. im fixing this according the guide above

Hi All

Im in a similar situation, this is what i did to get one app working (Jellyfin), and hopefully forms a template for all other apps

I have nginx proxy manager setup OK, my cert is loaded and active. I have domains etc. I followed the NGINX setup here:-

I have Jellyfin (and all my other apps including nginx) installed from the stock / standard catalogus (no custom apps).
This is completely fresh setup (i nuked all my old truecharts apps)

I need my ‘jellyfin.mydomain.com’ domain to point to nginx proxy manager instance on my True NAS running electric eel, which will then load jellyfin:-

My router port maps are OK:-

image

Ive added a proxy entry for Jellyfin in nginx proxy manager (i used http):-

And lastly, i specified a URL in the app configuration (just use the URL of your app here):-

image

EDIT

FYI, simply adding the immich domain and port (http) to nginx proxy was all that was required to work for immich, no need ot set a host URL, so apps will vary from app to app.

Thanks

So, for anyone on electric eel trying to get Nextcloud to work usign NGINX, to resolve this I had to do the following:-

Nextcloud Proxy setup (Domain hidden on purpose):-

image

TrueNAS Nexcloud app config, append your URL with :-

:443

In the ‘Host’ variable:-

image

Thats it!

Hi everybody, I’ll try to explay what I need.
I have a truenas core installation running caddy reverse proxy which, as you know, forwards ports 80 and 443. This is my production instance, which works great and allows me to access applications over internet.

I would like to use a second truenas scale installation, to do some testing, with NPM and Nextcloud.
Of course I have 2 separate domains.
Since I can’t use ports 80 and 443 with NPM (I already use them with caddy on core), could I use and forward 2 different ports? For example, 8080 and 4443?
How can I do?
thanx in advance