grzegorz: add and shortcut on main domain
Some checks failed
Eval nix flake / evals (push) Failing after 33s

This commit is contained in:
2025-06-07 18:39:02 +02:00
parent eceb2ce4c7
commit 9e00d143f8

View File

@@ -46,6 +46,15 @@ in {
allow 2001:700:300:1900::/64;
deny all;
'';
locations."/docs" = {
proxyPass = "http://${grg.settings.host}:${toString grg.settings.port}";
};
locations."/api" = {
proxyPass = "http://${grg.settings.host}:${toString grg.settings.port}";
proxyWebsockets = true;
};
};
"${machine}-backend.pvv.ntnu.no" = {