From 57a0576e57938e73554ec24b65e97bb182e7da31 Mon Sep 17 00:00:00 2001 From: xzx3344521 Date: Wed, 29 Oct 2025 21:47:11 +0800 Subject: [PATCH] Update nginx --- nginx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx b/nginx index 79354fb..3b8da28 100644 --- a/nginx +++ b/nginx @@ -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 }