2020-09-30 03:42:59 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./base.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2022-05-19 14:39:52 +00:00
|
|
|
services.nginx.virtualHosts."nixery.dev" = {
|
|
|
|
serverName = "nixery.dev";
|
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
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|