fix(searxng): enable autocomplete for suggestions in librewolf, fixup ip typo
This commit is contained in:
parent
0451747e31
commit
a84e3956c3
1 changed files with 13 additions and 7 deletions
|
@ -47,11 +47,17 @@ in
|
||||||
services.searx = {
|
services.searx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
environmentFile = "/run/secrets/searxng";
|
environmentFile = "/run/secrets/searxng";
|
||||||
settings.server = {
|
settings = {
|
||||||
port = "1340";
|
server = {
|
||||||
bind_address = "127.0.0.1";
|
port = "1340";
|
||||||
use_default_settings = true;
|
bind_address = "127.0.0.1";
|
||||||
secret_key = "@secret_key@";
|
use_default_settings = true;
|
||||||
|
secret_key = "@secret_key@";
|
||||||
|
};
|
||||||
|
search = {
|
||||||
|
safe_search = 0;
|
||||||
|
autocomplete = "google";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -79,12 +85,12 @@ in
|
||||||
"${cfg.domain}" = {
|
"${cfg.domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "stahl.sh";
|
useACMEHost = "stahl.sh";
|
||||||
locations."/".proxyPass = "http://127.0.01:1340";
|
locations."/".proxyPass = "http://127.0.0.1:1340";
|
||||||
};
|
};
|
||||||
"${cfg.redlib.domain}" = mkIf cfg.redlib.enable {
|
"${cfg.redlib.domain}" = mkIf cfg.redlib.enable {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "stahl.sh";
|
useACMEHost = "stahl.sh";
|
||||||
locations."/".proxyPass = "http://127.0.01:1341";
|
locations."/".proxyPass = "http://127.0.0.1:1341";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue