grzegorz: add and shortcut on main domain

This commit is contained in:
h7x4 2025-06-07 18:39:02 +02:00
parent eceb2ce4c7
commit 9e00d143f8
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146

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" = {