1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Enable http3 for nextcloud

This commit is contained in:
RGBCube 2024-01-27 21:36:05 +03:00 committed by RGBCube
parent 72f2a46835
commit 5dfb3b1345
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -86,6 +86,7 @@ in serverSystemConfiguration {
services.nginx.virtualHosts.${fqdn} = {
forceSSL = true;
quic = true;
useACMEHost = domain;
};
}

View file

@ -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;