1
0
Fork 0
nixos-config/nixos/roles/blog.nix

19 lines
332 B
Nix
Raw Normal View History

2019-08-02 18:41:58 +00:00
{ config, pkgs, lib, ... }: {
services = {
nginx = {
enable = true;
virtualHosts."blog.maralorn.de" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
root = "/var/www/blog";
index = "index.html";
};
};
};
};
};
}