a63f991351
This points a reverse proxy at a manually run, highly experimental container. The actual setup is not yet nixified. Change-Id: I8e1d5ec94a3f1e9b4b0bfc7ffd2a9badf4e79291 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9577 Reviewed-by: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
22 lines
479 B
Nix
22 lines
479 B
Nix
# 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";
|
|
};
|
|
};
|
|
};
|
|
}
|