Add basic auth to searx
This commit is contained in:
parent
1fae9f9a19
commit
4b440ec9b5
2 changed files with 19 additions and 0 deletions
|
|
@ -26,6 +26,21 @@
|
|||
],
|
||||
{% endif %}
|
||||
"handle": [
|
||||
{% if searx_authentication is not undefined and not none %}
|
||||
{
|
||||
"handler": "authentication",
|
||||
"providers": {
|
||||
"http_basic": {
|
||||
"accounts": [
|
||||
{
|
||||
"username": "{{ searx_authentication.username }}",
|
||||
"password": "{{ searx_authentication.password }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{% endif %}
|
||||
{
|
||||
"handler": "reverse_proxy",
|
||||
"upstreams": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue