mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
123
This commit is contained in:
@@ -80,7 +80,7 @@ in
|
|||||||
notify_push
|
notify_push
|
||||||
polls
|
polls
|
||||||
previewgenerator
|
previewgenerator
|
||||||
# richdocuments
|
richdocuments
|
||||||
spreed
|
spreed
|
||||||
tasks
|
tasks
|
||||||
user_oidc
|
user_oidc
|
||||||
@@ -118,16 +118,16 @@ in
|
|||||||
# };
|
# };
|
||||||
onlyoffice = {
|
onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "office.zeroq.ru";
|
hostname = "onlyoffice.local";
|
||||||
port = 8999;
|
#port = 8999;
|
||||||
package = stable.onlyoffice-documentserver;
|
#package = stable.onlyoffice-documentserver;
|
||||||
};
|
};
|
||||||
#rabbitmq.enable = false;
|
#rabbitmq.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"0.0.0.0" = [
|
"0.0.0.0" = [
|
||||||
"office.zeroq.ru"
|
"onlyoffice.local"
|
||||||
];
|
];
|
||||||
# "127.0.0.1" = [
|
# "127.0.0.1" = [
|
||||||
# "nextcloud.zeroq.ru"
|
# "nextcloud.zeroq.ru"
|
||||||
|
|||||||
@@ -41,17 +41,17 @@
|
|||||||
# }
|
# }
|
||||||
# ];
|
# ];
|
||||||
# };
|
# };
|
||||||
"office.zeroq.ru" = {
|
"onlyoffice.local" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
enableACME = false;
|
enableACME = false;
|
||||||
listen = [
|
listen = [
|
||||||
{
|
{
|
||||||
addr = "100.64.0.0";
|
addr = "100.64.0.0";
|
||||||
port = 8999;
|
port = 8080;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
addr = "192.168.1.20";
|
addr = "192.168.1.20";
|
||||||
port = 8999;
|
port = 8080;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://${server}:8999";
|
proxyPass = "http://${server}:8080";
|
||||||
proxyWebsockets = true; # onlyoffice uses websockets
|
proxyWebsockets = true; # onlyoffice uses websockets
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user