2020-09-30 03:42:59 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./base.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2022-05-19 14:39:52 +00:00
|
|
|
services.nginx.virtualHosts."images.tvl.fyi" = {
|
|
|
|
serverName = "images.tvl.fyi";
|
|
|
|
serverAliases = [ "images.tvl.su" ];
|
2020-09-30 03:42:59 +00:00
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
extraConfig = ''
|
|
|
|
location / {
|
2022-05-19 14:39:52 +00:00
|
|
|
proxy_pass http://localhost:${toString config.services.depot.nixery.port};
|
2020-09-30 03:42:59 +00:00
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|