feat: move to server

This commit is contained in:
s-prechtl 2025-06-22 18:13:03 +02:00
parent 674a4bfce5
commit 8bc98bd103

View file

@ -8,14 +8,14 @@
networking.firewall.allowedTCPPorts = [80 443];
services.nextcloud = {
enable = true;
hostName = "10.0.0.69";
https = false;
hostName = "sprechtl.ddns.net";
https = true;
configureRedis = true;
caching.redis = true;
autoUpdateApps.enable = true;
package = pkgs.nextcloud31;
settings = let
prot = "http"; # or https
prot = "https"; # or https
host = config.services.nextcloud.hostName;
dir = "/nextcloud";
in {
@ -49,9 +49,7 @@
port = 8080; # NOT an exposed port
}
];
};
virtualHosts."localhost" = {
locations = {
"/nextcloud" = {
priority = 9999;