hosts/library: add jellysearch
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m17s

This commit is contained in:
2025-06-22 14:21:39 +01:00
parent fed69bbc80
commit e0c0ae3ee7
4 changed files with 49 additions and 6 deletions

View File

@ -63,9 +63,17 @@
}
];
locations."/" = {
proxyPass = "http://localhost:8096";
extraConfig =
proxyConfig
''
# Proxy JellySearch first
if ($arg_searchTerm) {
proxy_pass http://localhost:5000;
break;
}
proxy_pass http://localhost:8096;
''
+ proxyConfig
+ ''
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;