mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 03:34:07 +02:00
set a secrect key
This commit is contained in:
parent
a8e59d6420
commit
f941b3d419
1 changed files with 5 additions and 3 deletions
|
@ -52,7 +52,7 @@
|
|||
"search.missing.ninja" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://localhost:8080";
|
||||
locations."/".proxyPass = "http://unix:${config.services.searx.uwsgiConfig.socket}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -81,9 +81,11 @@
|
|||
|
||||
services.searx = {
|
||||
enable = true;
|
||||
runInUwsgi = false;
|
||||
runInUwsgi = true;
|
||||
settings = {
|
||||
server.secret_key = "NotASecret";
|
||||
};
|
||||
uwsgiConfig = {
|
||||
http = ":3355";
|
||||
socket = "/run/searx/searx.sock";
|
||||
chmod-socket = "660";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue