Try for proxy auth
This commit is contained in:
parent
79ae872c48
commit
04d32bf507
1 changed files with 5 additions and 3 deletions
|
@ -173,10 +173,12 @@ password = {{ server.database.password }}
|
||||||
|
|
||||||
#################################### Auth Proxy ##########################
|
#################################### Auth Proxy ##########################
|
||||||
[auth.proxy]
|
[auth.proxy]
|
||||||
;enabled = false
|
{%- if server.get('auth', {}).get('engine', None) == 'proxy' %}
|
||||||
;header_name = X-WEBAUTH-USER
|
enabled = true
|
||||||
;header_property = username
|
header_name = {{ server.auth.get('header', 'X-REMOTE-USER') %}
|
||||||
|
header_property = {{ server.auth.get('header_property', 'username') }}
|
||||||
;auto_sign_up = true
|
;auto_sign_up = true
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
#################################### Basic Auth ##########################
|
#################################### Basic Auth ##########################
|
||||||
[auth.basic]
|
[auth.basic]
|
||||||
|
|
Loading…
Reference in a new issue