Update nginx

This commit is contained in:
2025-10-29 21:47:11 +08:00
committed by GitHub
parent 304e577ac6
commit 57a0576e57

10
nginx
View File

@@ -35,7 +35,7 @@ check_port() {
check_ports() {
print_info "检查端口占用情况..."
local ports=(2086 81 2096)
local ports=(80 81 443)
local conflict_found=0
for port in "${ports[@]}"; do
@@ -76,9 +76,9 @@ services:
image: 'docker.io/jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '2086:80'
- '80:80'
- '81:81'
- '2096:443'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
@@ -127,8 +127,8 @@ show_completion_info() {
echo
print_info "服务端口映射:"
print_info " - 管理界面: 81"
print_info " - HTTP 代理: 2086 → 80"
print_info " - HTTPS 代理: 2096 → 443"
print_info " - HTTP 代理: 80 → 80"
print_info " - HTTPS 代理: 443 → 443"
echo
}