1
0
Fork 0

Try for proxy auth

This commit is contained in:
Filip Pytloun 2016-03-31 21:09:28 +02:00
parent 79ae872c48
commit 04d32bf507
1 changed files with 5 additions and 3 deletions

View File

@ -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]