add blog
This commit is contained in:
parent
674202dbae
commit
0885fdbfdd
2 changed files with 23 additions and 0 deletions
22
services/blog.nix
Normal file
22
services/blog.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
virtualHosts."ellie.town" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/blog";
|
||||
|
||||
locations."/" = {
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "contact@elliehigh.com";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue