停用 redirect80 启动(与系统 casaos-gateway 抢占 80 端口)
redirect80 绑定 0.0.0.0:80 与宿主 casaos-gateway 冲突导致启动失败, 在 core/services.yaml 中注释其启动配置,保留参数便于日后恢复。
This commit is contained in:
1 parent
04f1375b45
commit
4497d80a94
1 file changed
+19
-18
+19
-18
@@ -224,21 +224,22 @@ services:
|
|||||||
sleep_before: 0
|
sleep_before: 0
|
||||||
|
|
||||||
# --- 端口重定向(最后启动)---
|
# --- 端口重定向(最后启动)---
|
||||||
- name: redirect80
|
# redirect80 与系统 casaos-gateway 抢占 80 端口导致绑定失败,暂时停用
|
||||||
cmd: bash /opt/micro_servers/redirect80/_run.sh
|
# - name: redirect80
|
||||||
args:
|
# cmd: bash /opt/micro_servers/redirect80/_run.sh
|
||||||
- "--instance"
|
# args:
|
||||||
- "redirect80"
|
# - "--instance"
|
||||||
- "--log-level"
|
# - "redirect80"
|
||||||
- "info"
|
# - "--log-level"
|
||||||
# --- 配置全部经 CLI 传递(原 confs/configs/redirect80.ini 迁入) ---
|
# - "info"
|
||||||
- "--host"
|
# # --- 配置全部经 CLI 传递(原 confs/configs/redirect80.ini 迁入) ---
|
||||||
- "0.0.0.0"
|
# - "--host"
|
||||||
- "--port"
|
# - "0.0.0.0"
|
||||||
- "80"
|
# - "--port"
|
||||||
- "--redirect-port"
|
# - "80"
|
||||||
- "443"
|
# - "--redirect-port"
|
||||||
- "--redirect-code"
|
# - "443"
|
||||||
- "301"
|
# - "--redirect-code"
|
||||||
depends_on: [waf]
|
# - "301"
|
||||||
sleep_before: 0
|
# depends_on: [waf]
|
||||||
|
# sleep_before: 0
|
||||||
Reference in new issue
Block a user