Remove non-working Collabora from Nextcloud config
This commit is contained in:
parent
a4542bd729
commit
514e10e138
1 changed files with 0 additions and 66 deletions
|
@ -32,70 +32,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."collabora.vsinerva.fi" =
|
|
||||||
{
|
|
||||||
forceSSL = true;
|
|
||||||
sslCertificate = "/var/lib/nextcloud/collabora_fullchain.pem";
|
|
||||||
sslCertificateKey = "/var/lib/nextcloud/collabora_privkey.pem";
|
|
||||||
locations = {
|
|
||||||
# static files
|
|
||||||
"^~ /loleaflet" = {
|
|
||||||
proxyPass = "https://localhost:9980";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
# WOPI discovery URL
|
|
||||||
"^~ /hosting/discovery" = {
|
|
||||||
proxyPass = "https://localhost:9980";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Capabilities
|
|
||||||
"^~ /hosting/capabilities" = {
|
|
||||||
proxyPass = "https://localhost:9980";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# download, presentation, image upload and websocket
|
|
||||||
"~ ^/lool" = {
|
|
||||||
proxyPass = "https://localhost:9980";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "Upgrade";
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_read_timeout 36000s;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Admin Console websocket
|
|
||||||
"^~ /lool/adminws" = {
|
|
||||||
proxyPass = "https://localhost:9980";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "Upgrade";
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_read_timeout 36000s;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualisation.oci-containers = {
|
|
||||||
backend = "docker";
|
|
||||||
containers.collabora = {
|
|
||||||
image = "collabora/code";
|
|
||||||
ports = ["9980:9980"];
|
|
||||||
environment = {
|
|
||||||
domain = "collabora.vsinerva.fi";
|
|
||||||
extra_params = "--o:ssl.enable=true --o:ssl.termination=true";
|
|
||||||
};
|
|
||||||
extraOptions = ["--cap-add" "MKNOD"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue