+46
nixos/modules/services/web-servers/h2o/common.nix
+46
nixos/modules/services/web-servers/h2o/common.nix
···
···
+111
-28
nixos/modules/services/web-servers/h2o/default.nix
+111
-28
nixos/modules/services/web-servers/h2o/default.nix
·····················
·········+"https://raw.githubusercontent.com/mozilla/ssl-config-generator/refs/tags/${git_tag}/src/static/guidelines/${version}.json"···+tlsRecommendations = lib.attrByPath [ "tls" "recommendations" ] cfg.defaultTLSRecommendations value;+hsts = "Strict-Transport-Security: max-age=${builtins.toString recs.hsts_min_age}; includeSubDomains; preload";·········
+8
-1
nixos/modules/services/web-servers/h2o/vhost-options.nix
+8
-1
nixos/modules/services/web-servers/h2o/vhost-options.nix
·········
+1
nixos/tests/web-servers/h2o/default.nix
+1
nixos/tests/web-servers/h2o/default.nix
+115
nixos/tests/web-servers/h2o/tls-recommendations.nix
+115
nixos/tests/web-servers/h2o/tls-recommendations.nix
···
···+curl_max_tls1_2_intermediate_cipher ="curl -v --tlsv1.0 --tls-max 1.2 --ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256' 'https://${domain}:${portStr}/'"+curl_max_tls1_2_old_cipher ="curl -v --tlsv1.0 --tls-max 1.2 --ciphers 'ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256' 'https://${domain}:${portStr}/'"