Skip to content

Commit

Permalink
vulpes: acme
Browse files Browse the repository at this point in the history
  • Loading branch information
ocfox committed Oct 6, 2024
1 parent 619574a commit 10f3a32
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hosts/vulpes/security.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
acme = {
acceptTerms = true;
defaults.email = "vulpes@ocfox.me";
};
}
14 changes: 14 additions & 0 deletions hosts/vulpes/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,18 @@
openssh.enable = true;

tailscale.enable = true;

nginx = {
enable = true;
virtualHosts."vulpes.ocfox.me" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = "200 '<html><body>The Vulpes.</body></html>'";
extraConfig = ''
default_type text/html;
'';
};
};
};
}

0 comments on commit 10f3a32

Please sign in to comment.