simbiot-harness/sites/landing/DEPLOY.md

19 lines
1.4 KiB
Markdown
Raw Permalink 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 живёт публично: https://landing.cil.by/ (+ /session/)
Схема (e-261013154449, 2026-10-13): хост харнеса = хост cil.by (204.168.232.21),
вход терминирует Caddy. Лендинг — статикой, как presale.cil.by:
- docroot: /var/www/simbiot-landing (копия index.html, styles.css, session/)
- сайт-блок: /etc/caddy/sites/landing.cil.by.caddy (root+file_server+try_files)
- serve :8095 и localhost.run-туннель больше НЕ нужны (юниты потеряны при
миграции и не восстанавливались: nokey-режим localhost.run мёртв для
remote forwarding, старый URL *.lhr.life → 502)
Обновление контента: отредактировать sites/landing/*, затем
cp index.html styles.css session/ -r → /var/www/simbiot-landing/
caddy validate --config /etc/caddy/Caddyfile && caddy reload --config /etc/caddy/Caddyfile
(caddy reload только при правке сайт-блока; чистый cp файлов reload не требует)
PUBLIC_URL.txt хранит актуальный публичный URL (стабилен, имя закреплено).
Примечание: DEPLOY-скрипт scripts/deploy_landing.sh — про ДРУГОЙ лендинг
(simbiot.cil.by из docs/simbiot-landing-v2-live.html), не путать.