add blog
This commit is contained in:
parent
674202dbae
commit
0885fdbfdd
2 changed files with 23 additions and 0 deletions
|
|
@ -83,6 +83,7 @@
|
||||||
./common.nix
|
./common.nix
|
||||||
./hosts/vps/configuration.nix
|
./hosts/vps/configuration.nix
|
||||||
./hosts/vps/disko-config.nix
|
./hosts/vps/disko-config.nix
|
||||||
|
./services/blog.nix
|
||||||
./services/coturn.nix
|
./services/coturn.nix
|
||||||
./services/wireguard-outer.nix
|
./services/wireguard-outer.nix
|
||||||
./services/borgbackup-vps.nix
|
./services/borgbackup-vps.nix
|
||||||
|
|
|
||||||
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