docs(stage): switch stage subdomain to food-market.zat.kz
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) <noreply@anthropic.com>
This commit is contained in:
parent
3b9cf0ee9a
commit
3f3c7480c6
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue