diff --git a/nixos/modules/services/web-apps/jitsi-meet.nix b/nixos/modules/services/web-apps/jitsi-meet.nix
index 569901a869b..d2cdbdc8ba1 100644
--- a/nixos/modules/services/web-apps/jitsi-meet.nix
+++ b/nixos/modules/services/web-apps/jitsi-meet.nix
@@ -135,15 +135,11 @@ in
description = ''
Whether to enable nginx virtual host that will serve the javascript application and act as
a proxy for the XMPP server. Further nginx configuration can be done by adapting
- . It is highly recommended to
- enable the and options:
-
-
- services.nginx.virtualHosts.''${config.services.jitsi-meet.hostName} = {
- enableACME = true;
- forceSSL = true;
- };
-
+ .
+ When this is enabled, ACME will be used to retrieve a TLS certificate by default. To disable
+ this, set the to
+ false and if appropriate do the same for
+ .
'';
};
@@ -278,6 +274,8 @@ in
services.nginx = mkIf cfg.nginx.enable {
enable = mkDefault true;
virtualHosts.${cfg.hostName} = {
+ enableACME = mkDefault true;
+ forceSSL = mkDefault true;
root = pkgs.jitsi-meet;
locations."~ ^/([a-zA-Z0-9=\\?]+)$" = {
extraConfig = ''