This commit is contained in:
2025-09-23 21:19:09 +03:00
parent 00d9293d53
commit 3e08829d22
2 changed files with 15 additions and 3 deletions
+2 -2
View File
@@ -33,11 +33,11 @@
listen = [ listen = [
{ {
addr = "100.64.0.0"; addr = "100.64.0.0";
port = 10000; port = 11000;
} }
{ {
addr = "192.168.1.20"; addr = "192.168.1.20";
port = 10000; port = 11000;
} }
]; ];
}; };
+13 -1
View File
@@ -54,7 +54,19 @@ in
kTLS = true; kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:5230"; proxyPass = "http://${server}:5230";
proxyWebsockets = true; # collabora uses websockets proxyWebsockets = true;
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"trilium.zeroq.ru" = {
enableACME = true;
forceSSL = true;
kTLS = true;
locations."/" = {
proxyPass = "http://${server}:11000";
proxyWebsockets = true;
}; };
extraConfig = '' extraConfig = ''
client_max_body_size 5G; client_max_body_size 5G;