diff --git a/hosts/cube/nextcloud/default.nix b/hosts/cube/nextcloud/default.nix index fcd501c..fd549ae 100644 --- a/hosts/cube/nextcloud/default.nix +++ b/hosts/cube/nextcloud/default.nix @@ -86,6 +86,7 @@ in serverSystemConfiguration { services.nginx.virtualHosts.${fqdn} = { forceSSL = true; + quic = true; useACMEHost = domain; }; } diff --git a/hosts/cube/nginx.nix b/hosts/cube/nginx.nix index eccfd7d..ff0f2fb 100644 --- a/hosts/cube/nginx.nix +++ b/hosts/cube/nginx.nix @@ -1,4 +1,4 @@ -{ config, ulib, ... }: with ulib; +{ config, ulib, pkgs, ... }: with ulib; serverSystemConfiguration { networking.firewall.allowedTCPPorts = [ 80 443 ]; @@ -19,6 +19,8 @@ serverSystemConfiguration { }; services.nginx = enabled { + package = pkgs.nginxQuic; + statusPage = true; recommendedBrotliSettings = true;