[PRISM-SPLIT] CT203 prism, 8197 upstream switched, old 8095 untouched
This commit is contained in:
1 parent
e5350965e3
commit
0013fef27a
1 file changed
+58
@@ -0,0 +1,58 @@
|
||||
# PRISM split — CT203
|
||||
|
||||
Дата: 2026-12-02 20:35 MSK
|
||||
Статус: **applied**, старый 8095 не тронут.
|
||||
|
||||
## Факты
|
||||
|
||||
```text
|
||||
CT203 prism
|
||||
IP 192.168.1.204
|
||||
RAM 768 MB / disk 4 GB
|
||||
service prism.service
|
||||
app /opt/prism/web
|
||||
port 192.168.1.204:8095
|
||||
repo infrastructure/buryan-prism @ d821dc0
|
||||
```
|
||||
|
||||
Edge:
|
||||
|
||||
```text
|
||||
public 8097 oauth2-proxy-prism (CT103)
|
||||
-> pve nginx 8197
|
||||
-> 192.168.1.204:8095
|
||||
```
|
||||
|
||||
Проверка:
|
||||
|
||||
```text
|
||||
CT203:8095 200
|
||||
8197 200
|
||||
8097 302 -> Authentik
|
||||
old pve 8095 200
|
||||
```
|
||||
|
||||
## Изменено
|
||||
|
||||
```text
|
||||
/etc/nginx/conf.d/prism-internal.conf
|
||||
- 127.0.0.1:8095
|
||||
+ 192.168.1.204:8095
|
||||
backup: prism-internal.conf.bak-ct203-20261202
|
||||
```
|
||||
|
||||
`prism.service` на pve оставлен на старом 8095; `/opt/prism` не используется в public path.
|
||||
|
||||
## Осталось
|
||||
|
||||
- DB `prism` на CT151 — общая.
|
||||
- 8097 auth — в Hub nginx.
|
||||
- `worker/prism_group_worker.py` — копия в Hub.
|
||||
|
||||
## Rollback
|
||||
|
||||
```bash
|
||||
cp /etc/nginx/conf.d/prism-internal.conf.bak-ct203-20261202 /etc/nginx/conf.d/prism-internal.conf
|
||||
nginx -t && systemctl reload nginx
|
||||
pct stop 203
|
||||
```
|
||||
Reference in new issue
Block a user