19 lines
332 B
Nix
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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|