note that a proxy on the tls port must serve https to browsers

This commit is contained in:
Josh Hawkins
2026-10-18 12:33:48 -05:00
parent 1b1a38f0a1
commit 859a5caffb
4 changed files with 5 additions and 4 deletions
@@ -118,7 +118,8 @@ auth:
cookie_name: frigate_token cookie_name: frigate_token
# Optional: Set secure flag on cookie. (default: shown below) # Optional: Set secure flag on cookie. (default: shown below)
# NOTE: Frigate sets the flag automatically when serving TLS. Set this to True # NOTE: Frigate sets the flag automatically when serving TLS. Set this to True
# when a reverse proxy terminates TLS in front of Frigate # when a reverse proxy terminates TLS in front of Frigate. A proxy that connects
# to the TLS port must serve Frigate to browsers over HTTPS
cookie_secure: False cookie_secure: False
# Optional: Session length in seconds (default: shown below) # Optional: Session length in seconds (default: shown below)
session_length: 86400 # 24 hours session_length: 86400 # 24 hours
+1 -1
View File
@@ -27,7 +27,7 @@ class AuthConfig(FrigateBaseModel):
cookie_secure: bool = Field( cookie_secure: bool = Field(
default=False, default=False,
title="Secure cookie flag", title="Secure cookie flag",
description="Always set the secure flag on the auth cookie. Frigate sets it automatically when serving TLS; enable this when a reverse proxy terminates TLS in front of Frigate.", description="Always set the secure flag on the auth cookie. Frigate sets it automatically when serving TLS; enable this when a reverse proxy terminates TLS in front of Frigate. A proxy that connects to the TLS port must serve Frigate to browsers over HTTPS.",
) )
session_length: int = Field( session_length: int = Field(
default=86400, default=86400,
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -40,7 +40,7 @@
}, },
"cookie_secure": { "cookie_secure": {
"label": "Secure cookie flag", "label": "Secure cookie flag",
"description": "Always set the secure flag on the auth cookie. Frigate sets it automatically when serving TLS; enable this when a reverse proxy terminates TLS in front of Frigate." "description": "Always set the secure flag on the auth cookie. Frigate sets it automatically when serving TLS; enable this when a reverse proxy terminates TLS in front of Frigate. A proxy that connects to the TLS port must serve Frigate to browsers over HTTPS."
}, },
"session_length": { "session_length": {
"label": "Session length", "label": "Session length",