mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Enable http3 for nextcloud
This commit is contained in:
parent
72f2a46835
commit
5dfb3b1345
2 changed files with 4 additions and 1 deletions
|
@ -86,6 +86,7 @@ in serverSystemConfiguration {
|
|||
|
||||
services.nginx.virtualHosts.${fqdn} = {
|
||||
forceSSL = true;
|
||||
quic = true;
|
||||
useACMEHost = domain;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue