Partial rollout of HTTP/3

This commit is contained in:
minish 2024-10-13 19:14:29 -04:00
parent 6d61d05261
commit 4507d9bdc8
Signed by: min
SSH Key Fingerprint: SHA256:NFjjdbkd6u7aoMlcrDCVvz6o2UBtlAuPm8IQ2vhZ3Fg
5 changed files with 16 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -6,6 +6,8 @@ in {
forceSSL = true;
enableACME = true;
quic = true;
locations."/" = {
tryFiles = "$uri $uri/ =404";
extraConfig = ''

View File

@ -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" = {