mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Update ahoneybun-net.nix
This commit is contained in:
parent
723d2b896c
commit
4f0ab6050a
1 changed files with 9 additions and 12 deletions
|
@ -1,20 +1,17 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
security.acme.acceptTerms = true;
|
services.nginx = {
|
||||||
security.acme.defaults.email = "aaronhoneycutt@proton.me";
|
enable = true;
|
||||||
|
virtualHosts = {
|
||||||
services.nginx = {
|
|
||||||
enable = true;
|
|
||||||
virtualHosts = {
|
|
||||||
"ahoneybun.net" = {
|
"ahoneybun.net" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = "/var/www";
|
root = "/var/www/ahoneybun-net/_site";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue