Nginx Proxy Manager
Nginx Proxy Manager is a user-friendly interface for managing and configuring Nginx as a reverse proxy server. Nginx is a popular web server and reverse proxy used to handle requests, load balance, and direct traffic to different services or applications.
Official Documentation: https://nginxproxymanager.com/
- Basic understanding of Docker.
- Docker must be installed on your system.
- Basic knowledge of command-line operations.
docker run -itd --name=c_nginx_proxy_manager --restart=always -p 80:80 -p 81:81 -p 443:443 -v $(pwd)/nginx-proxy-manager/data:/data -v $(pwd)/nginx-proxy-manager/letsencrypt:/etc/letsencrypt jc21/nginx-proxy-manager:latest
nano compose.yml
services:
npm:
image: jc21/nginx-proxy-manager:latest
container_name: npm
hostname: npm
restart: unless-stopped
environment:
- DISABLE_IPV6 = 'true'
- TZ=TZ=Asia/Kolkata
- PUID=1000 # see https://nginxproxymanager.com/advanced-config/
- PGID=1000 # see https://nginxproxymanager.com/advanced-config/
ports:
- 80:80/tcp # HTTP
- 443:443/tcp # HTTPS
- 81:81/tcp # MGMT UI, do not expose publicly
dns:
- 8.8.8.8
- 8.8.4.4
healthcheck:
test: ["CMD", "/bin/check-health"]
interval: 30s
timeout: 3s
volumes:
- ./nginx-proxy-manager/data:/data
- ./nginx-proxy-manager/letsencrypt:/etc/letsencrypt
docker-compose up -d
http://your_ip_or_FQDN:81
admin@example.com
changeme
0 comments:
Post a Comment