mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-19 08:56:35 +00:00
Add backend service configuration guide trusted proxies and fix images (#639)
* Add backend service configuration guide for reverse proxy trusted proxies Many self-hosted services (Jellyfin, Home Assistant, Nextcloud, Plex) require a "trusted proxies" or "known hosts" setting when behind a reverse proxy. With NetBird, the proxy's IP is a dynamic NetBird IP from 100.64.0.0/10 that can change on restart, so hardcoding it breaks. This adds a new doc page with the recommended solution (trust the full CGNAT range), per-service config examples, Docker bridge network guidance, and a warning on the reverse proxy overview page. * Update service-configuration.mdx and move/add images * Fixing typos --------- Co-authored-by: Brandon Hopkins <brandon@techhut.tv>
This commit is contained in:
@@ -225,6 +225,10 @@ Switch to the **Settings** tab to adjust advanced proxy behavior.
|
||||
- **Pass Host Header** - when enabled, the original `Host` header from the client request is forwarded to the backend service instead of the target's hostname. This is useful when the backend application needs to know the public domain it is being accessed through.
|
||||
- **Rewrite Redirects** - when enabled, `Location` headers in backend responses (used for HTTP redirects) are rewritten to use the public domain. This prevents users from being redirected to internal URLs that they cannot reach.
|
||||
|
||||
<Warning>
|
||||
**Backend configuration may be required.** If your backend service has a "trusted proxies", "known hosts", or "allowed networks" setting (common in Jellyfin, Home Assistant, Plex, Nextcloud, and others), you must configure it to trust the NetBird IP range. Without this, the backend may reject proxied requests or fail to read the real client IP. See [Backend Service Configuration](/manage/reverse-proxy/service-configuration) for details and per-service examples.
|
||||
</Warning>
|
||||
|
||||
### Step 5: Create the service
|
||||
|
||||
Click **Add Service** to create the reverse proxy service. NetBird will begin provisioning the TLS certificate and establishing the tunnel. Monitor the service status on the services list page until it shows `active`.
|
||||
|
||||
Reference in New Issue
Block a user