magpie: enable quic/http3 on nginx

This commit is contained in:
Asmir A 2023-10-05 18:59:43 +02:00
parent f4276fdf04
commit 622d8ce02b

View File

@ -103,15 +103,18 @@
services.nginx = { services.nginx = {
enable = true; enable = true;
package = pkgs.nginxQuic;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts.${config.services.nextcloud.hostName} = { virtualHosts.${config.services.nextcloud.hostName} = {
quic = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
}; };
virtualHosts.${config.services.gitea.settings.server.domain} = { virtualHosts.${config.services.gitea.settings.server.domain} = {
quic = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
@ -119,6 +122,7 @@
}; };
}; };
virtualHosts.${config.services.restya-board.virtualHost.serverName} = { virtualHosts.${config.services.restya-board.virtualHost.serverName} = {
quic = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {