set a secrect key

This commit is contained in:
jopejoe1 2024-07-16 21:33:09 +02:00
parent a8e59d6420
commit f941b3d419

View file

@ -52,7 +52,7 @@
"search.missing.ninja" = { "search.missing.ninja" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/".proxyPass = "http://localhost:8080"; locations."/".proxyPass = "http://unix:${config.services.searx.uwsgiConfig.socket}";
}; };
}; };
}; };
@ -81,9 +81,11 @@
services.searx = { services.searx = {
enable = true; enable = true;
runInUwsgi = false; runInUwsgi = true;
settings = {
server.secret_key = "NotASecret";
};
uwsgiConfig = { uwsgiConfig = {
http = ":3355";
socket = "/run/searx/searx.sock"; socket = "/run/searx/searx.sock";
chmod-socket = "660"; chmod-socket = "660";
}; };