services/nginx: enable for dandelion
This commit is contained in:
parent
ef9c4f3a08
commit
d4b9c485b6
3 changed files with 9 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{ config, inputs, ... }: {
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
email = "me@lava.moe";
|
||||
|
|
@ -27,6 +28,11 @@
|
|||
forceSSL = true;
|
||||
root = inputs.website.outPath;
|
||||
};
|
||||
"cdn.lava.moe" = {
|
||||
useACMEHost = "lava.moe";
|
||||
forceSSL = true;
|
||||
root = "/persist/cdn";
|
||||
};
|
||||
"_" = {
|
||||
default = true;
|
||||
addSSL = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue