mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: seaxng test
This commit is contained in:
parent
c2776775e5
commit
a25db19492
1 changed files with 4 additions and 11 deletions
|
@ -158,19 +158,12 @@ in
|
|||
virtualHosts = {
|
||||
"${host}" = {
|
||||
extraConfig = ''
|
||||
# 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 /
|
||||
}
|
||||
redir /.well-known/carddav /remote.php/dav/ 301
|
||||
redir /.well-known/caldav /remote.php/dav/ 301
|
||||
|
||||
reverse_proxy ${localhost}:${toString service.ports.port1}
|
||||
|
||||
tls ${service.ssl.cert} ${service.ssl.key}
|
||||
encode zstd gzip
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue