simbiot-harness/sites/landing/DEPLOY.md

10 lines
950 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Landing served locally: systemd landing-serve (python3 http.server :8095, dir sites/landing)
Public tunnel: systemd landing-tunnel (localhost.run; обёртка /usr/local/bin/landing-tunnel-run.sh)
Current public URL: см. PUBLIC_URL.txt (обёртка обновляет его сама при каждой смене)
Важно (2026-10-07): localhost.run в nokey-режиме выдаёт случайный субдомен на
каждый рестарт — URL нестабилен by design. Обёртка туннеля парсит stdout ssh
и перезаписывает PUBLIC_URL.txt при смене URL (лог: /var/log/landing-tunnel.log).
Стабильный URL = только через прод (simbiot.cil.by, scripts/deploy_landing.sh
из origin/master) или именованный туннель с аккаунтом.
Note: server IP 185.203.154.209 drops inbound from outside (NAT/firewall), hence tunnel.