Tweak
This commit is contained in:
parent
fded4d98cd
commit
b521eccf19
|
@ -64,11 +64,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure the vhost for the domain
|
# Configure the vhost for the domain
|
||||||
services.nginx.virtualHosts = let
|
services.nginx.virtualHosts = let fqdn = "matrix.community.rs";
|
||||||
fqdn = let
|
|
||||||
join = hostName: domain:
|
|
||||||
hostName + lib.optionalString (domain != null) ".${domain}";
|
|
||||||
in join config.networking.hostName config.networking.domain;
|
|
||||||
in {
|
in {
|
||||||
"community.rs" = {
|
"community.rs" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in New Issue