Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meibraransari/nginx-proxy-manager
🌎 Nginx setup & configuration
https://github.com/meibraransari/nginx-proxy-manager
nginx nginx-server
Last synced: 17 days ago
JSON representation
🌎 Nginx setup & configuration
- Host: GitHub
- URL: https://github.com/meibraransari/nginx-proxy-manager
- Owner: meibraransari
- Created: 2024-07-27T14:42:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T03:14:29.000Z (25 days ago)
- Last Synced: 2024-12-07T03:24:58.982Z (25 days ago)
- Topics: nginx, nginx-server
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
Created: 2024-12-07T07:47:47+05:30
Updated: 2024-12-07T08:44:33+05:30
Maintainer: Ibrar Ansari
---
# Nginx Proxy Manger Deployment using Docker Run & Docker Compose
Nginx Proxy Manager### 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/
### **Prerequisites**
- Basic understanding of Docker.
- Docker must be installed on your system.
- Basic knowledge of command-line operations.### Deployment Guide
#### 1. Using Docker run command
```
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
```
#### 2. Using Docker Compose
##### Create compose file
```
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
```##### Run container
```
docker-compose up -d
```##### Access NPM Server
```
http://your_ip_or_FQDN:81
[email protected]
changeme
```---
### 💼 Connect with me 👇👇 😊- 🔥 [**Youtube**](https://www.youtube.com/@DevOpsinAction?sub_confirmation=1)
- ✍ [**Blog**](https://ibraransari.blogspot.com/)
- 💼 [**LinkedIn**](https://www.linkedin.com/in/ansariibrar/)
- 👨💻 [**Github**](https://github.com/meibraransari?tab=repositories)
- 💬 [**Telegram**](https://t.me/DevOpsinActionTelegram)
- 🐳 [**Docker**](https://hub.docker.com/u/ibraransaridocker)