set nginx upstream
OEH7HAF2GAHEBF55JLITN4JT6MAJOIQQK7DVO345JY6BLPKVFJKAC
KOJUSLZEOGTPYW2EGQY6PZKGGMOL6PLIQ7NUAJR26S5HZZZQQJYQC
{_, ...}: {
{_, ...}: let socket = "/run/searx/searx.sock";in {
{_, ...}: let
socket = "/run/searx/searx.sock";
in {
inherit socket;
http = ":8080";
}; }; }; services.nginx = { upstreams = { "searx" = { servers = {"unix://${socket}" = {};}; extraConfig = '' include uwsgi_params; '';
};
services.nginx = {
upstreams = {
"searx" = {
servers = {"unix://${socket}" = {};};
extraConfig = ''
include uwsgi_params;
'';