nix-config/hosts/cirrostratus/nginx.nix

23 lines
471 B
Nix
Raw Normal View History

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