From 3f3c7480c662592b8ebe453732a3dab319117b71 Mon Sep 17 00:00:00 2001 From: nurdotnet <278048682+nurdotnet@users.noreply.github.com> Date: Wed, 22 Apr 2026 20:31:20 +0500 Subject: [PATCH] docs(stage): switch stage subdomain to food-market.zat.kz MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User clarified: zat.kz is the project's domain (not space-time.kz, which hosts the unrelated legacy food-market-server). Future prod will be on food-market.kz once purchased. - Updated /etc/nginx/conf.d/food-market-stage.conf on server: server_name food-market.zat.kz, proxies to docker stage on :8081. - docs/stage-access.md: all references switched to food-market.zat.kz. - Memory updated to record domain plan. Once a DNS A-record food-market.zat.kz → 88.204.171.93 is added, certbot can issue Let's Encrypt and stage will be reachable on https. Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/stage-access.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/stage-access.md b/docs/stage-access.md index 38ad671..f6655db 100644 --- a/docs/stage-access.md +++ b/docs/stage-access.md @@ -1,4 +1,4 @@ -# Доступ к stage food-market.space-time.kz +# Доступ к stage food-market.zat.kz ## Текущая ситуация @@ -14,7 +14,7 @@ ``` server { listen 80; - server_name food-market-stage.space-time.kz; + server_name food-market.zat.kz; location / { proxy_pass http://127.0.0.1:8081; ... } } ``` @@ -23,19 +23,19 @@ server { ### 1. Поднять DNS A-запись -В DNS-провайдере зоны `space-time.kz` (Cloudflare?) добавить: +В DNS-провайдере зоны `zat.kz` (Cloudflare?) добавить: ``` -food-market-stage.space-time.kz A 88.204.171.93 TTL 300 +food-market.zat.kz A 88.204.171.93 TTL 300 ``` ### 2. Выпустить SSL через certbot После того как DNS прописан и распространился (5-10 мин): ```bash -ssh -p 9393 nns@88.204.171.93 'sudo certbot --nginx -d food-market-stage.space-time.kz --non-interactive --agree-tos -m admin@space-time.kz' +ssh -p 9393 nns@88.204.171.93 'sudo certbot --nginx -d food-market.zat.kz --non-interactive --agree-tos -m admin@zat.kz' ``` -После этого: https://food-market-stage.space-time.kz — рабочая stage-админка. +После этого: https://food-market.zat.kz — рабочая stage-админка. ## Альтернатива — открыть порт в Proxmox