1
0
Fork 0
mirror of synced 2024-11-25 18:25:35 -05:00

Try for proxy auth

This commit is contained in:
Filip Pytloun 2016-03-31 21:09:28 +02:00
parent 79ae872c48
commit 04d32bf507

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]