官网地址地址:https://nginxproxymanager.com/

采用docker-compose 一键安装,docker-compose下载链接

1
curl -SL https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose

docker-compose .yml 配置文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81' #后台登录地址端口,左边改成没有被占用的端口
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt

默认密码:

1
2
Email:    admin@example.com
Password: changeme

image-20230928131938607