This commit is contained in:
Hadi 2024-06-08 02:20:20 +02:00
parent 41a6de85b1
commit fbf3fe3255

View File

@ -12,15 +12,11 @@
networking.firewall.allowedTCPPorts = [ 80 443 8083 ]; networking.firewall.allowedTCPPorts = [ 80 443 8083 ];
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = { services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true; forceSSL = false;
enableACME = true; enableACME = false;
listen = [{ listen = [{
addr = "localhost"; addr = "localhost";
port = 8083; port = 8083;
}]; }];
}; };
security.acme = {
defaults.email = "contact@anotherhadi.com";
acceptTerms = true;
};
} }