1
0
Fork 0
mirror of synced 2024-11-22 17:05:34 -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 ##########################
[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]