fix: certbot nginx premission

This commit is contained in:
DACHXY 2025-04-28 19:13:28 +08:00
parent 56dfb90345
commit e6c4ca5e04
3 changed files with 38 additions and 8 deletions

View file

@ -44,18 +44,23 @@ in
"nextcloud"
];
};
networking.firewall.allowedTCPPorts = [
80
443
];
users.groups.windows = {
members = [ "nextcloud" ];
};
services.nextcloud = {
enable = true;
datadir = "/mnt/windows/Linux/nextcloud";
datadir = "/mnt/nextcloud";
package = pkgs.nextcloud31;
configureRedis = true;
hostName = "pre7780.net.dn";
https = false;
https = true;
extraApps = {
inherit (config.services.nextcloud.package.packages.apps)