nix-config/hosts/cirrus/nginx.nix

18 lines
293 B
Nix
Raw Normal View History

{
inputs,
config,
pkgs,
lib,
...
}: {
imports = [
../../configs/nixos/nginx.nix
];
2024-07-29 22:02:40 +02:00
services.nginx.virtualHosts."gabevenberg.com" = {
enableACME = true;
forceSSL = true;
2024-07-29 22:02:40 +02:00
root = "/var/www/gabevenberg.com";
};
networking.firewall.allowedTCPPorts = [443 80];
}