[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.