> ## Documentation Index
> Fetch the complete documentation index at: https://control.datarelay.run/llms.txt
> Use this file to discover all available pages before exploring further.

# 네트워크 & TLS

> reverse proxy, published port, TLS, proxy trust.

# 네트워크 & TLS

`deploy/docker-compose.https.yml`은 PostgreSQL과 API를 host에 직접 publish하지 않고 reverse proxy만 노출합니다.

Self-signed 인증서 생성:

```bash theme={null}
GDC_TLS_OUTPUT_DIR=deploy/tls ./scripts/release/generate-self-signed-cert.sh
```

실제 public 환경에서는 신뢰 가능한 인증서를 사용하십시오.

`GDC_TRUST_PROXY_HEADERS`가 forwarded header 신뢰를 제어합니다. 토폴로지를 변경한다면 trusted proxy 범위를 제한하십시오.

Data Relay Control 고유 DNS 프로토콜은 없습니다. 일반 DNS에서 원하는 hostname을 reverse proxy로 연결하면 됩니다.
