mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-04-20 03:34:07 +02:00
server over http
This commit is contained in:
parent
8eb0436b93
commit
826d8e298e
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue