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