18 lines
269 B
Nix
18 lines
269 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts = {
|
|
"tildecafe.com" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
root = "/var/www/tildecafe";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|