mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
listen = [
|
||||
{
|
||||
addr = "100.64.0.0";
|
||||
port = 10000;
|
||||
port = 11000;
|
||||
}
|
||||
{
|
||||
addr = "192.168.1.20";
|
||||
port = 10000;
|
||||
port = 11000;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
@@ -54,7 +54,19 @@ in
|
||||
kTLS = true;
|
||||
locations."/" = {
|
||||
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 = ''
|
||||
client_max_body_size 5G;
|
||||
|
||||
Reference in New Issue
Block a user