From a9f5bb859fa23e9b00621df2cd725a1b0f1bd4d8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 17 Feb 2024 12:48:12 +0700 Subject: 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 --- ops/modules/www/grep.tvl.fyi.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ops/modules/www/grep.tvl.fyi.nix') diff --git a/ops/modules/www/grep.tvl.fyi.nix b/ops/modules/www/grep.tvl.fyi.nix index 8f16e8ccbdba..93ef5eabd27b 100644 --- a/ops/modules/www/grep.tvl.fyi.nix +++ b/ops/modules/www/grep.tvl.fyi.nix @@ -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}"; }; }; }; -- cgit 1.4.1