ssh3: init packages

This commit is contained in:
Rouven Seifert 2023-12-19 22:42:38 +01:00
parent ea48055ebb
commit dab85522ba
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 101 additions and 33 deletions

View file

@ -62,14 +62,17 @@
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ];
services.nginx = {
enable = true;
package = pkgs.nginxQuic;
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."${config.networking.domain}" = {
quic = true;
http3 = true;
enableACME = true;
forceSSL = true;
root = "/srv/web/${config.networking.domain}";