perfect...
This commit is contained in:
parent
66b3850633
commit
ea02dd26b4
4 changed files with 11 additions and 23 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
searx = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server.port = config.ports.searx;
|
||||
server.secret_key = "SEARX_SECRET_KEY";
|
||||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts."searx.baduhai.me" = {
|
||||
useACMEHost = "baduhai.me";
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.searx}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue