mirror of
https://gitverse.ru/kpa39l/gotosocial.git
synced 2026-09-29 09:55:10 +00:00
fix(trusted-proxies): add 10.8.0.4/32 (vps02 WG) to GTS_TRUSTED_PROXIES
- docker-compose.yml: GTS_TRUSTED_PROXIES now 10.8.0.4/32,127.0.0.1/32,::1,172.30.0.1/16 - config.yaml: trusted-proxies sync (172.29.0.1/16 -> 172.30.0.1/16, actual docker gw) - openspec: change fix-trusted-proxies (proposal/specs/design/tasks) - verified: warning gone (0 matches), external IP 178.176.197.2 in logs, HTTP 200
This commit is contained in:
+3
-2
@@ -23,8 +23,9 @@ services:
|
||||
GTS_DB_ADDRESS: "/gotosocial/storage/sqlite.db"
|
||||
# Медиа — локально (./data/storage)
|
||||
GTS_STORAGE_LOCAL_BASE_PATH: "/gotosocial/storage"
|
||||
# Траст reverse proxy (Caddy на vps02 → WG 10.8.0.2 → docker NAT 172.29.0.1)
|
||||
GTS_TRUSTED_PROXIES: "127.0.0.1/32,::1,172.29.0.1/16"
|
||||
# Траст reverse proxy (Caddy на vps02 → WG 10.8.0.4 → bigbox 10.8.0.2 → docker NAT 172.30.0.1)
|
||||
# 10.8.0.4/32 — WG-адрес vps02 (реальный источник от Caddy), 172.30.0.1/16 — шлюз docker-сети
|
||||
GTS_TRUSTED_PROXIES: "10.8.0.4/32,127.0.0.1/32,::1,172.30.0.1/16"
|
||||
# Инстанс
|
||||
GTS_INSTANCE_TITLE: "dedinit()"
|
||||
GTS_INSTANCE_DESCRIPTION: "Нода для обычных людей"
|
||||
|
||||
Reference in New Issue
Block a user