22 lines
363 B
Nix
22 lines
363 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
./base.nix
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
services.nginx.virtualHosts."b.tvl.fyi" = {
|
||
|
serverName = "b.tvl.fyi";
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
|
||
|
extraConfig = ''
|
||
|
location / {
|
||
|
proxy_pass http://localhost:${toString config.services.depot.panettone.port};
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|