Clean up nextcloud module

This commit is contained in:
Alexander Bantyev 2022-02-23 09:55:15 +03:00
parent 8153389d19
commit 3215b55ab7
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -1,5 +1,4 @@
{ config, pkgs, lib, ... }:
{
{ config, pkgs, lib, ... }: {
services.nextcloud = {
enable = true;
hostName = "nextcloud.balsoft.ru";
@ -15,7 +14,5 @@
enableACME = true;
forceSSL = true;
locations."/".proxyWebsockets = true;
locations."~ ^\\/(?:build|tests|config|lib|3rdparty|templates|data)\\/".proxyWebsockets = true;
locations."~ ^\\/(?:index|remote|public|cron|core/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|ocm-provider\\/.+)\\.php(?:$|\\/)".proxyWebsockets = true;
};
}