sinamics / ztnet

ZTNET - ZeroTier Web UI for Private Controllers with Multiuser and Organization Support.

Home Page:https://ztnet.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Support]: Nginx Proxy Manager Configuration for ZTNET? Traefik?

TBT-TBT opened this issue Β· comments

πŸ“ Inquiry

A lot of people don't use Caddy as reverse proxy, but NPM or Traefik.

I have tried setting up ZTNET with NPM, but wasn't able to. I would be happy for some guide on how to set up ZTNET with NPM. And a lot of people certainly would be happy about some Traefik guidance.

Great work, amazing software, which I would love to use!

Yours
TBT

πŸ”– Version

not applicable -> docker-compose / NPM issue

πŸ”§ Deployment Type

  • Docker
  • Standalone

πŸ’» Operating System

Debian

🌐 Browser

Chrome

πŸ“š Any Other Information That May Be Helpful

No response

NGINX is super simple (this is for the .conf without the Manager – don't use it):

    server {
        server_name SERVER;
        
         access_log  /var/log/nginx/ztnet_access.log;
         error_log  /var/log/nginx/ztnet_error.log;
         
         location / {
                        proxy_pass http://localhost:3000;
         }
    }

Then just add a LE cert and you're done.

Make sure, the firewall blocks access from WAN to port 3000 and that's it.