You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to configure basic authorization. It seems that currently I need my own default.conf.j2 template. And this is what I'm using:
{%forlocationinitem.value.reverse_proxy.locations%}
location {{ item.value.reverse_proxy.locations[location].location }} {
{# this part below is an extra configuration #}{%ifitem.value.reverse_proxy.locations[location].auth_basicisdefined%}
auth_basic "{{ item.value.reverse_proxy.locations[location].auth_basic }}";
{%endif%}{%ifitem.value.reverse_proxy.locations[location].auth_basic_fileisdefined%}
auth_basic_user_file {{ item.value.reverse_proxy.locations[location].auth_basic_file }};
{%endif%}{# this part above is an extra configuration #}
proxy_pass {{ item.value.reverse_proxy.locations[location].proxy_pass }};
{%ifitem.value.reverse_proxy.health_check_plusisdefinedanditem.value.reverse_proxy.health_check_plus%}
health_check;
{%endif%}
I would like to configure basic authorization. It seems that currently I need my own default.conf.j2 template. And this is what I'm using:
plus:
I would like to be able to configure basic authorization by one of the following options:
auth_basic
andauth_basic_file
What do you think about this feature and suggested solutions?
The text was updated successfully, but these errors were encountered: