This commit is contained in:
41666 2023-12-29 20:20:30 -05:00
parent 0fe7c1a082
commit f3e8b1a5bd

View file

@ -17,6 +17,19 @@ in {
services.nginx = {
recommendedTlsSettings = true;
upstreams = with lib; let
upstreamsToCreate = [
tsHost "mango"
];
upstreams = listToAttrs (
map (x: nameValuePair x ({ servers = [x]; })) upstreamsToCreate
);
in {
inherit upstreams;
};
virtualHosts = {
# Matrix (main)
"mx.sapphic.engineer" = {