2024-07-27 19:11:57 -05:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
../../configs/nixos/nginx.nix
|
|
|
|
];
|
2024-09-28 08:14:40 -05:00
|
|
|
services.nginx.virtualHosts = {
|
|
|
|
"gabevenberg.com" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
root = "/var/www/gabevenberg.com";
|
|
|
|
};
|
|
|
|
"draft.gabevenberg.com" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
root = "/var/www/draft.gabevenberg.com";
|
|
|
|
basicAuthFile = config.sops.secrets.gabevenberg-draft-credentials.path;
|
|
|
|
};
|
2024-08-07 15:24:17 -05:00
|
|
|
};
|
2024-07-27 19:11:57 -05:00
|
|
|
}
|