mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
collabora try)
This commit is contained in:
@@ -62,7 +62,7 @@ in
|
||||
end_to_end_encryption
|
||||
groupfolders
|
||||
impersonate
|
||||
onlyoffice
|
||||
# onlyoffice
|
||||
bookmarks
|
||||
calendar
|
||||
contacts
|
||||
@@ -88,35 +88,35 @@ in
|
||||
;
|
||||
};
|
||||
};
|
||||
# collabora-online = {
|
||||
# enable = false;
|
||||
# #package = stable.collabora-online;
|
||||
# port = 9980;
|
||||
# settings = {
|
||||
# # Rely on reverse proxy for SSL
|
||||
# server_name = "https://collabora.zeroq.ru";
|
||||
# ssl = {
|
||||
# enable = false;
|
||||
# termination = true;
|
||||
# ssl_verification = false;
|
||||
# };
|
||||
# net = {
|
||||
# listen = "0.0.0.0";
|
||||
# post_allow.host = [
|
||||
# "localhost"
|
||||
# "127.0.0.1"
|
||||
# "0.0.0.0"
|
||||
# "nextcloud.zeroq.ru"
|
||||
# ]; # "::1"
|
||||
# };
|
||||
# storage.wopi = {
|
||||
# "@allow" = true;
|
||||
# host = [ "nextcloud.zeroq.ru" "127.0.0.1" "0.0.0.0" ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
onlyoffice = {
|
||||
collabora-online = {
|
||||
enable = true;
|
||||
#package = stable.collabora-online;
|
||||
port = 9980;
|
||||
settings = {
|
||||
# Rely on reverse proxy for SSL
|
||||
server_name = "office.zeroq.ru";
|
||||
ssl = {
|
||||
enable = false;
|
||||
termination = true;
|
||||
ssl_verification = false;
|
||||
};
|
||||
net = {
|
||||
listen = "0.0.0.0";
|
||||
post_allow.host = [
|
||||
"localhost"
|
||||
"0.0.0.0"
|
||||
"nextcloud.zeroq.ru"
|
||||
"nextcloud.local"
|
||||
]; # "::1"
|
||||
};
|
||||
storage.wopi = {
|
||||
"@allow" = true;
|
||||
host = [ "nextcloud.zeroq.ru" "localhost" "0.0.0.0" "nextcloud.local" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
onlyoffice = {
|
||||
enable = false;
|
||||
hostname = "onlyoffice.local";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -27,34 +27,6 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
# "localhost:3002" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "100.64.0.0";
|
||||
# port = 3002;
|
||||
# }
|
||||
# {
|
||||
# addr = "192.168.1.20";
|
||||
# port = 3002;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# "trilium" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "100.64.0.0";
|
||||
# port = 11000;
|
||||
# }
|
||||
# {
|
||||
# addr = "192.168.1.20";
|
||||
# port = 11000;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# "office.zeroq.ru" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
@@ -69,54 +41,6 @@
|
||||
# absolute_redirect off;
|
||||
# '';
|
||||
# };
|
||||
# "onlyoffice.local" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "100.64.0.0";
|
||||
# port = 8001;
|
||||
# }
|
||||
# {
|
||||
# addr = "192.168.1.20";
|
||||
# port = 8001;
|
||||
# }
|
||||
# ];
|
||||
# extraConfig = ''
|
||||
# # Force nginx to return relative redirects. This lets the browser
|
||||
# # figure out the full URL. This ends up working better because it's in
|
||||
# # front of the reverse proxy and has the right protocol, hostname & port.
|
||||
# absolute_redirect off;
|
||||
# '';
|
||||
# };
|
||||
# "localhost:9980" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "100.64.0.0";
|
||||
# port = 9980;
|
||||
# }
|
||||
# {
|
||||
# addr = "192.168.1.20";
|
||||
# port = 9980;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
# "localhost:5230" = {
|
||||
# forceSSL = false;
|
||||
# enableACME = false;
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "100.64.0.0";
|
||||
# port = 5230;
|
||||
# }
|
||||
# {
|
||||
# addr = "192.168.1.20";
|
||||
# port = 5230;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user