about summary refs log blame commit diff
path: root/ops/modules/www/grep.tvl.fyi.nix
blob: 93ef5eabd27b1b5b5185e126f27f858cf31af976 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                   




                                                  
                                                                                       



        
# Experimental configuration for manually Livegrep.
{ config, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."grep.tvl.fyi" = {
      enableACME = true;
      forceSSL = true;

      locations."/" = {
        proxyPass = "http://127.0.0.1:${toString config.services.depot.livegrep.port}";
      };
    };
  };
}