Nginx listen and cache header fixes (#25092)

* only add the ipv6 listener for wildcard listen addresses

With IPv6 enabled, nginx also listened on [::] for both ports regardless of the configured listen address, so an internal port bound to 127.0.0.1 or [::1] was still reachable on every IPv6 address, and a [::]:port value rendered a duplicate listen that kept nginx from starting. The [::] listener is now added only for a bare port, *:port or 0.0.0.0:port, and a specific address binds only that address.

* mark authorized media responses private in nginx
This commit is contained in:
Josh Hawkins
2026-11-25 07:40:26 -07:00
committed by GitHub
parent fd35f4a48f
commit b213d1e73c
6 changed files with 45 additions and 9 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ Frigate exposes a few networking options. IPv6 and the listen ports are set in t
### Enabling IPv6
By default Frigate listens on IPv4 only. To also listen on IPv6 (on port `5000`, and on `8971` when TLS is configured), enable it in the `networking` configuration.
By default Frigate listens on IPv4 only. To also listen on IPv6 (on port `5000`, and on `8971` when TLS is configured), enable it in the `networking` configuration. A listen port bound to a specific address stays on that address only.
<ConfigTabs>
<TabItem value="ui">