mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Use the same domain for all acme
This commit is contained in:
parent
0c85685729
commit
dabf115594
3 changed files with 5 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -879,11 +879,11 @@
|
|||
"tools": "tools"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704987079,
|
||||
"narHash": "sha256-43cGAF3QP0NU7hKEbAERkMNNfWqPdIB+NibkAl/Ppcg=",
|
||||
"lastModified": 1704987612,
|
||||
"narHash": "sha256-vQP2ql60y7lR/pcCmkG+ruT/OK4T0Gsx/A1B4sYz7NA=",
|
||||
"owner": "RGBCube",
|
||||
"repo": "Site",
|
||||
"rev": "e81527eea1a171a5362ffbc8b4f328480b459860",
|
||||
"rev": "3d2c3e760d95c0b1d4034c1a1b073432755c2d98",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ config, ulib, ... }: with ulib;
|
||||
|
||||
serverSystemConfiguration {
|
||||
services.nginx.virtualHosts.${config.mailserver.fqdn}.useACMEHost = config.networking.domain;
|
||||
|
||||
mailserver = enabled {
|
||||
domains = [ config.networking.domain ];
|
||||
fqdn = "mail.${config.networking.domain}";
|
||||
|
|
BIN
secrets/acme.age
BIN
secrets/acme.age
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue