1
0
Fork 0
nixos-config/nixos/roles/blog.nix
2020-07-02 21:36:42 +02:00

19 lines
332 B
Nix

{ config, pkgs, lib, ... }: {
services = {
nginx = {
enable = true;
virtualHosts."blog.maralorn.de" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
root = "/var/www/blog";
index = "index.html";
};
};
};
};
};
}