mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -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 = {
|
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
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue