feat: make secure flag of cookie configurable (#26)
This commit is contained in:
parent
9801ef453d
commit
c4c1fd8aab
5 changed files with 10 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue