feat: seaxng test

This commit is contained in:
Nick 2025-03-09 19:44:23 -05:00
parent c2776775e5
commit a25db19492

View file

@ -158,19 +158,12 @@ in
virtualHosts = { virtualHosts = {
"${host}" = { "${host}" = {
extraConfig = '' extraConfig = ''
# Use the uwsgi socket directly instead of reverse_proxy to HTTP redir /.well-known/carddav /remote.php/dav/ 301
reverse_proxy unix//run/searx/searx.sock { redir /.well-known/caldav /remote.php/dav/ 301
transport unix {
dial_timeout 5s reverse_proxy ${localhost}:${toString service.ports.port1}
}
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
''; '';
}; };
}; };