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