server over http

This commit is contained in:
jopejoe1 2024-07-16 21:06:03 +02:00
parent 8eb0436b93
commit 826d8e298e

View file

@ -52,7 +52,7 @@
"search.missing.ninja" = { "search.missing.ninja" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/".proxyPass = "http://unix:${config.services.searx.uwsgiConfig.socket}"; locations."/".proxyPass = "http://localhost:3355";
}; };
}; };
}; };
@ -83,6 +83,7 @@
enable = true; enable = true;
runInUwsgi = true; runInUwsgi = true;
uwsgiConfig = { uwsgiConfig = {
http = ":3355";
socket = "/run/searx/searx.sock"; socket = "/run/searx/searx.sock";
chmod-socket = "660"; chmod-socket = "660";
}; };