feat(ops/modules): initialise module for running livegrep

Change-Id: Ic22118def24089cda25ccc74c9da670d41c6b323
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10936
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
Vincent Ambo 2024-02-17 12:48:12 +07:00 committed by tazjin
parent d4d46b9d8a
commit a9f5bb859f
3 changed files with 94 additions and 4 deletions

View file

@ -7,15 +7,12 @@
];
config = {
# Short link support (i.e. plain http://at) for users with a
# configured tvl.fyi/tvl.su search domain.
services.nginx.virtualHosts."grep.tvl.fyi" = {
enableACME = true;
forceSSL = true;
locations."/" = {
# experimental: manually run Docker container
proxyPass = "http://172.17.0.3:8910";
proxyPass = "http://127.0.0.1:${toString config.services.depot.livegrep.port}";
};
};
};