mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 22:41:52 +03:00
collabora try)
This commit is contained in:
@@ -62,7 +62,7 @@ in
|
|||||||
end_to_end_encryption
|
end_to_end_encryption
|
||||||
groupfolders
|
groupfolders
|
||||||
impersonate
|
impersonate
|
||||||
onlyoffice
|
# onlyoffice
|
||||||
bookmarks
|
bookmarks
|
||||||
calendar
|
calendar
|
||||||
contacts
|
contacts
|
||||||
@@ -88,35 +88,35 @@ in
|
|||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# collabora-online = {
|
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 = {
|
|
||||||
enable = true;
|
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";
|
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" = {
|
# "office.zeroq.ru" = {
|
||||||
# forceSSL = false;
|
# forceSSL = false;
|
||||||
# enableACME = false;
|
# enableACME = false;
|
||||||
@@ -69,54 +41,6 @@
|
|||||||
# absolute_redirect off;
|
# 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;
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
services.node-red = {
|
services.node-red = {
|
||||||
enable = true;
|
enable = false;
|
||||||
port = 1880;
|
port = 1880;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
userDir = "${xlib.dirs.services-mnt-folder}/node-red";
|
userDir = "${xlib.dirs.services-mnt-folder}/node-red";
|
||||||
|
|||||||
+21
-21
@@ -28,18 +28,18 @@ in
|
|||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"node-red.zeroq.ru" = {
|
# "node-red.zeroq.ru" = {
|
||||||
forceSSL = true;
|
# forceSSL = true;
|
||||||
enableACME = true;
|
# enableACME = true;
|
||||||
kTLS = true;
|
# kTLS = true;
|
||||||
locations."/" = {
|
# locations."/" = {
|
||||||
proxyPass = "http://${server}:1880";
|
# proxyPass = "http://${server}:1880";
|
||||||
proxyWebsockets = true;
|
# proxyWebsockets = true;
|
||||||
};
|
# };
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
client_max_body_size 5G;
|
# client_max_body_size 5G;
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
"flux.zeroq.ru" = {
|
"flux.zeroq.ru" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
@@ -57,7 +57,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://${server}:8000";
|
proxyPass = "http://${server}:9980";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@@ -122,14 +122,14 @@ in
|
|||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"llm.zeroq.ru" = {
|
# "llm.zeroq.ru" = {
|
||||||
forceSSL = true;
|
# forceSSL = true;
|
||||||
enableACME = true;
|
# enableACME = true;
|
||||||
locations."/" = {
|
# locations."/" = {
|
||||||
proxyPass = "http://100.86.62.4:11112";
|
# proxyPass = "http://100.86.62.4:11112";
|
||||||
proxyWebsockets = true;
|
# proxyWebsockets = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user