adding header to datacare

This commit is contained in:
Tassilo - 2023-03-10 19:40:18 +01:00
parent 2b856fd603
commit f55bfdadb0
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@
"/" = {
proxyPass = with config.TLMS.datacare; "http://${host}:${toString port}/";
proxyWebsockets = true;
extraConfig = ''
Access-Control-Allow-Credentials true
'';
};
};
};

View File

@ -8,9 +8,9 @@
root = if (config.deployment-TLMS.domain == "dvb.solutions") then "${pkgs.kindergarten}/bin/" else "${pkgs.kindergarten-staging}/bin/";
index = "index.html";
tryFiles = "$uri /index.html =404";
extraConfig = ''
extraConfig = ''
Access-Control-Allow-Credentials true
'';
'';
};
};
};