This commit is contained in:
2025-09-24 19:28:15 +03:00
parent 6a61c81a5f
commit ffc96d19a3
3 changed files with 43 additions and 24 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ in
nextcloud-whiteboard-server = {
enable = true;
settings = {
NEXTCLOUD_URL = "https://nextcloud.local";
NEXTCLOUD_URL = "http://nextcloud.local";
};
secrets = [ "${inputs.zeroq-credentials}/services/nextcloud/jwt-secret.txt" ];
};
+28 -18
View File
@@ -26,10 +26,20 @@
port = 10000;
}
];
locations."/whiteboard" = {
proxyPass = "http://localhost:3002";
proxyWebsockets = true;
};
};
"localhost:3002" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 3002;
}
{
addr = "192.168.1.20";
port = 3002;
}
];
};
# "trilium" = {
# forceSSL = false;
@@ -45,20 +55,20 @@
# }
# ];
# };
"office.zeroq.ru" = {
forceSSL = false;
enableACME = false;
locations."/" = {
proxyPass = "http://onlyoffice.local:8000";
proxyWebsockets = true;
};
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;
'';
};
# "office.zeroq.ru" = {
# forceSSL = false;
# enableACME = false;
# locations."/" = {
# proxyPass = "http://onlyoffice.local:8000";
# proxyWebsockets = true;
# };
# 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;
# '';
# };
# "onlyoffice.local" = {
# forceSSL = false;
# enableACME = false;