sail: Enable HTTP3
This commit is contained in:
parent
779371ac42
commit
2ac52f1b02
6 changed files with 14 additions and 0 deletions
|
@ -39,6 +39,8 @@
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts."tictac.daniel.sx" = {
|
||||
http3 = true;
|
||||
|
||||
forceSSL = true;
|
||||
useACMEHost = "daniel.sx";
|
||||
basicAuthFile = config.age.secrets.proxitok-auth.path;
|
||||
|
|
|
@ -40,6 +40,8 @@ in
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts."overflow.daniel.sx" = {
|
||||
http3 = true;
|
||||
|
||||
root = "${anonymous-overflow-pkg}/share/anonymous-overflow/public/";
|
||||
forceSSL = true;
|
||||
useACMEHost = "daniel.sx";
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts."${secret.nginx.hostnames.libreddit}" = {
|
||||
http3 = true;
|
||||
|
||||
forceSSL = true;
|
||||
useACMEHost = "daniel.sx";
|
||||
basicAuthFile = config.age.secrets.libreddit-auth.path;
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
package = pkgs.nginxQuic;
|
||||
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedBrotliSettings = true;
|
||||
|
|
|
@ -53,6 +53,8 @@ in
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts."${secret.nginx.hostnames.nitter}" = {
|
||||
http3 = true;
|
||||
|
||||
root = "${nitter-pkg}/share/nitter/public/";
|
||||
forceSSL = true;
|
||||
useACMEHost = "daniel.sx";
|
||||
|
|
|
@ -42,6 +42,8 @@ in
|
|||
|
||||
services.nginx = {
|
||||
virtualHosts."ringo.daniel.sx" = {
|
||||
http3 = true;
|
||||
|
||||
forceSSL = true;
|
||||
useACMEHost = "daniel.sx";
|
||||
basicAuthFile = config.age.secrets.rimgo-auth.path;
|
||||
|
|
Loading…
Reference in a new issue