From 4497d80a94cbf3a33d24c3fd81851bae69bf2314 Mon Sep 17 00:00:00 2001 From: qing <1776177662@qq.com> Date: Thu, 27 Aug 2026 09:00:25 +0000 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E7=94=A8=20redirect80=20=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=EF=BC=88=E4=B8=8E=E7=B3=BB=E7=BB=9F=20casaos-gateway?= =?UTF-8?q?=20=E6=8A=A2=E5=8D=A0=2080=20=E7=AB=AF=E5=8F=A3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redirect80 绑定 0.0.0.0:80 与宿主 casaos-gateway 冲突导致启动失败, 在 core/services.yaml 中注释其启动配置,保留参数便于日后恢复。 --- core/services.yaml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/core/services.yaml b/core/services.yaml index fa79eb3..68650c3 100644 --- a/core/services.yaml +++ b/core/services.yaml @@ -223,22 +223,23 @@ services: depends_on: [] sleep_before: 0 - # --- 端口重定向(最后启动) --- - - name: redirect80 - cmd: bash /opt/micro_servers/redirect80/_run.sh - args: - - "--instance" - - "redirect80" - - "--log-level" - - "info" - # --- 配置全部经 CLI 传递(原 confs/configs/redirect80.ini 迁入) --- - - "--host" - - "0.0.0.0" - - "--port" - - "80" - - "--redirect-port" - - "443" - - "--redirect-code" - - "301" - depends_on: [waf] - sleep_before: 0 + # --- 端口重定向(最后启动)--- + # redirect80 与系统 casaos-gateway 抢占 80 端口导致绑定失败,暂时停用 + # - name: redirect80 + # cmd: bash /opt/micro_servers/redirect80/_run.sh + # args: + # - "--instance" + # - "redirect80" + # - "--log-level" + # - "info" + # # --- 配置全部经 CLI 传递(原 confs/configs/redirect80.ini 迁入) --- + # - "--host" + # - "0.0.0.0" + # - "--port" + # - "80" + # - "--redirect-port" + # - "443" + # - "--redirect-code" + # - "301" + # depends_on: [waf] + # sleep_before: 0