If Traefik's labels confuse you, or you just prefer clicking buttons, Nginx Proxy Manager (NPM) is for you.
It handles:
- Reverse Proxying: Point
app.example.comtohttp://192.168.1.50:8080. - SSL: Automatically gets Let's Encrypt certs and renews them.
- Access Lists: Password protect your internal services.
The Setup
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
Usage
- Go to
http://localhost:81. - Default login:
admin@example.com/changeme. - Add a Proxy Host.
- Domain:
myservice.com. - Forward Host:
container_nameor IP. - SSL Tab: "Request a new SSL Certificate".
Done. You have HTTPS.