This commit is contained in:
2025-10-06 22:52:30 +03:00
parent efacb944ae
commit 6c7a4648d2
+12 -2
View File
@@ -56,10 +56,20 @@ in
enableACME = true;
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:8000";
locations = {
"/" = {
proxyPass = "http://${server}:8000"; # API и coauthoring
proxyWebsockets = true;
};
"/web-apps/" = {
proxyPass = "http://${server}:8000/web-apps/"; # фронтенд
proxyWebsockets = true;
};
"/coauthoring/" = {
proxyPass = "http://${server}:8000/coauthoring/"; # coauthoring WS
proxyWebsockets = true;
};
};
extraConfig = ''
client_max_body_size 5G;
''; # absolute_redirect off;