1
0
Fork 0
nixos-config/system/blog.nix
2019-08-07 23:40:26 +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";
};
};
};
};
};
}