feat: make secure flag of cookie configurable (#26)

This commit is contained in:
Akira Yamazaki
2024-08-24 22:18:38 +08:00
committed by GitHub
parent 9801ef453d
commit c4c1fd8aab
5 changed files with 10 additions and 2 deletions
+3
View File
@@ -68,6 +68,9 @@ services:
HOST: '0.0.0.0'
PORT: '3000'
# Only set this to false if you aren't behind a reverse proxy
COOKIE_SECURE: 'false'
# Overrides the configuration file values if they are set in config.yaml
# If you want to share the same OIDC configuration you do not need this
OIDC_CLIENT_ID: 'headscale'
+4
View File
@@ -98,6 +98,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
# Only set this to false if you aren't behind a reverse proxy
- name: COOKIE_SECURE
value: 'false'
volumeMounts:
- name: headscale-config
mountPath: /etc/headscale