2023-10-08 22:31:10 +02:00
|
|
|
# Experimental configuration for manually Livegrep.
|
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./base.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
services.nginx.virtualHosts."grep.tvl.fyi" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
locations."/" = {
|
2024-02-17 06:48:12 +01:00
|
|
|
proxyPass = "http://127.0.0.1:${toString config.services.depot.livegrep.port}";
|
2023-10-08 22:31:10 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|