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]
|
||||
;enabled = false
|
||||
;header_name = X-WEBAUTH-USER
|
||||
;header_property = username
|
||||
{%- if server.get('auth', {}).get('engine', None) == 'proxy' %}
|
||||
enabled = true
|
||||
header_name = {{ server.auth.get('header', 'X-REMOTE-USER') %}
|
||||
header_property = {{ server.auth.get('header_property', 'username') }}
|
||||
;auto_sign_up = true
|
||||
{%- endif %}
|
||||
|
||||
#################################### Basic Auth ##########################
|
||||
[auth.basic]
|
||||
|
|
Loading…
Reference in a new issue