diff options
author | Vincent Ambo <tazjin@tvl.su> | 2024-02-17T05·48+0700 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2024-02-17T07·11+0000 |
commit | a9f5bb859fa23e9b00621df2cd725a1b0f1bd4d8 (patch) | |
tree | b344abe03970ad7696580892055931ce06807394 /ops/modules/www/grep.tvl.fyi.nix | |
parent | d4d46b9d8a9b7a2b6c160b8633964c64af9e8d01 (diff) |
feat(ops/modules): initialise module for running livegrep r/7537
Change-Id: Ic22118def24089cda25ccc74c9da670d41c6b323 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10936 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'ops/modules/www/grep.tvl.fyi.nix')
-rw-r--r-- | ops/modules/www/grep.tvl.fyi.nix | 5 |
1 files changed, 1 insertions, 4 deletions
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}"; }; }; }; |