Hosting Domain via TrueNAS Best Practices: NGINX, Traefik, or Caddy

Multiple servers behind the router…

1 Like

I just run 2 RP. One for lan-services and one for “dmz”.

Nice one. I just use different names and ports in this case, though.

Lots of ways to skin a cat :wink:

yes

I thought the same, but I wasn’t sure if there was any other specific reason, given that there is only one reverse proxy app available, although a reverse proxy is “mandatory” if you run multiple apps on TN.

Hardly; you can always use IP:port to access them. In the unlikely event two apps want the same port, change one of them. Unless the app requires access via HTTPS (which a few do, like Vaultwarden), you don’t need a RP–it just makes things easier.

1 Like

But once you have a certain number of apps, it’s no longer fun to learn all the ports by heart. :slight_smile: .

1 Like

For what I need it for, namely remote access to some of my self-hosted applications on my TrueNAS server, the Nginx Proxy Manager works. Especially since it also provides https connectivity to the http-only apps (e.g. Audiobooksehlf and Kavita), and automatically obtains and renews the Let’s Encrypt certificates.

It would be nice if it also had reporting as well. Ah well, it’s a free product.

Dan is talking about a plain nginx setup. Not Nginx Proxy Manager.

This is my exact setup, as well. I have the Cloudflare WAN protection settings (I think that’s what they’re called) turned on so that cloudflare doesn’t direct any traffic to my domain that originates outside the US. It seems to be working, since the cloudflare reports show that all traffic has been coming from inside the US since I set that up. I don’t think that 100% protects me since my IP is technically discoverable so it can be pinged from outside the US once some actor gets a hold of that. But, for now, it’s better than nothing.

1 Like