blob: 7d027b2991abf3aaca5350bde29a2f3996559c84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ 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};
}
'';
};
};
}
|