Partial rollout of HTTP/3
This commit is contained in:
parent
6d61d05261
commit
4507d9bdc8
|
@ -9,11 +9,14 @@ in {
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts.${dom} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
quic = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString httpIntPort}";
|
||||
};
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./vcnotifier.nix
|
||||
# ./nodemusicbot.nix
|
||||
|
@ -15,6 +15,8 @@
|
|||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
package = pkgs.nginxQuic;
|
||||
|
||||
recommendedZstdSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedBrotliSettings = true;
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
in {
|
||||
services.nginx = {
|
||||
virtualHosts.${dom} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString httpIntPort}";
|
||||
};
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
streamConfig = ''
|
||||
upstream gitea {
|
||||
|
|
|
@ -6,6 +6,8 @@ in {
|
|||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
quic = true;
|
||||
|
||||
locations."/" = {
|
||||
tryFiles = "$uri $uri/ =404";
|
||||
extraConfig = ''
|
||||
|
|
|
@ -9,11 +9,12 @@
|
|||
in {
|
||||
services.nginx = {
|
||||
virtualHosts.${domHost} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString httpIntPort}";
|
||||
};
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
virtualHosts.${domDelegate} = {
|
||||
locations."/.well-known/matrix/client" = {
|
||||
|
|
Loading…
Reference in New Issue