tvl-depot/ops/modules/www/grep.tvl.fyi.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
479 B
Nix
Raw Normal View History

# Experimental configuration for manually Livegrep.
{ config, ... }:
{
imports = [
./base.nix
];
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";
};
};
};
}