mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
nggg
This commit is contained in:
@@ -119,7 +119,7 @@ in
|
||||
onlyoffice = {
|
||||
enable = true;
|
||||
hostname = "onlyoffice.local";
|
||||
port = 8000;
|
||||
port = 8999;
|
||||
package = stable.onlyoffice-documentserver;
|
||||
};
|
||||
#rabbitmq.enable = false;
|
||||
|
||||
@@ -47,11 +47,11 @@
|
||||
listen = [
|
||||
{
|
||||
addr = "100.64.0.0";
|
||||
port = 8000;
|
||||
port = 8999;
|
||||
}
|
||||
{
|
||||
addr = "192.168.1.20";
|
||||
port = 8000;
|
||||
port = 8999;
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
|
||||
@@ -21,11 +21,12 @@ in
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://${server}:8000";
|
||||
proxyPass = "http://${server}:8999";
|
||||
proxyWebsockets = true; # onlyoffice uses websockets
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 5G;
|
||||
absolute_redirect off;
|
||||
'';
|
||||
};
|
||||
"collabora.zeroq.ru" = {
|
||||
|
||||
Reference in New Issue
Block a user