fix
This commit is contained in:
parent
0fe7c1a082
commit
f3e8b1a5bd
1 changed files with 13 additions and 0 deletions
|
@ -17,6 +17,19 @@ in {
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
||||||
|
upstreams = with lib; let
|
||||||
|
upstreamsToCreate = [
|
||||||
|
tsHost "mango"
|
||||||
|
];
|
||||||
|
|
||||||
|
upstreams = listToAttrs (
|
||||||
|
map (x: nameValuePair x ({ servers = [x]; })) upstreamsToCreate
|
||||||
|
);
|
||||||
|
in {
|
||||||
|
inherit upstreams;
|
||||||
|
};
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
# Matrix (main)
|
# Matrix (main)
|
||||||
"mx.sapphic.engineer" = {
|
"mx.sapphic.engineer" = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue