a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
22 lines
413 B
Nix
22 lines
413 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./base.nix
|
|
];
|
|
|
|
config = {
|
|
services.nginx.virtualHosts."images.tvl.fyi" = {
|
|
serverName = "images.tvl.fyi";
|
|
serverAliases = [ "images.tvl.su" ];
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
|
|
extraConfig = ''
|
|
location / {
|
|
proxy_pass http://localhost:${toString config.services.depot.nixery.port};
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|