6f15f1741c226029fa3e05fb5dcfcf702e83e1ef
services/Distributed-Wiki-New.md
| ... | ... | @@ -108,6 +108,15 @@ The repository includes `nginx-vhost.conf` with a more complete example (HTTP -> |
| 108 | 108 | |
| 109 | 109 | To keep HPKP/HSTS behaviour consistent with the legacy setup, reuse the same headers. Coordinate DNS and certification with the dn42 Automatic CA workflow when exposing official mirrors. |
| 110 | 110 | |
| 111 | +Set real IP if you proxy `/api` endpoints. |
|
| 112 | + |
|
| 113 | +```conf |
|
| 114 | +set_real_ip_from 10.0.0.0/8; |
|
| 115 | +set_real_ip_from 172.20.0.0/14; |
|
| 116 | +set_real_ip_from fd00::/8; |
|
| 117 | +set_real_ip_from unix:; |
|
| 118 | +``` |
|
| 119 | + |
|
| 111 | 120 | ## Docker & Compose |
| 112 | 121 | |
| 113 | 122 | The repository ships with a multi-stage `Dockerfile` and `docker-compose.yml`. |