mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-08 01:07:16 +02:00
adding header to datacare
This commit is contained in:
parent
2b856fd603
commit
f55bfdadb0
|
@ -32,6 +32,9 @@
|
|||
"/" = {
|
||||
proxyPass = with config.TLMS.datacare; "http://${host}:${toString port}/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
Access-Control-Allow-Credentials true
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user