mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: added searXNG to Ceres
This commit is contained in:
parent
67b82a66b0
commit
71741eef92
1 changed files with 12 additions and 1 deletions
|
@ -149,8 +149,19 @@ in
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${host}" = {
|
"${host}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
reverse_proxy ${localhost}:${toString service.ports.port0}
|
# Use the uwsgi socket directly instead of reverse_proxy to HTTP
|
||||||
|
reverse_proxy unix//run/searx/searx.sock {
|
||||||
|
transport unix {
|
||||||
|
dial_timeout 5s
|
||||||
|
}
|
||||||
|
header_up Host {host}
|
||||||
|
header_up X-Forwarded-For {remote}
|
||||||
|
header_up X-Forwarded-Proto {scheme}
|
||||||
|
header_up X-Script-Name /
|
||||||
|
}
|
||||||
|
|
||||||
tls ${service.ssl.cert} ${service.ssl.key}
|
tls ${service.ssl.cert} ${service.ssl.key}
|
||||||
|
encode zstd gzip
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue