docs: add overview

This commit is contained in:
oddlama 2024-01-11 19:59:27 +01:00
parent c55f465ba1
commit 4744a2844c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 133 additions and 27 deletions

View file

@ -52,7 +52,7 @@ in {
};
config = mkIf (config.services.nginx.enable && config.services.nginx.recommendedSetup) {
age.secrets."dhparams.pem" = {
age.secrets."dhparams.pem" = mkIf (config ? age) {
generator.script = "dhparams";
mode = "440";
group = "nginx";
@ -71,7 +71,7 @@ in {
# SSL config
sslCiphers = "EECDH+AESGCM:EDH+AESGCM:!aNULL";
sslDhparam = config.age.secrets."dhparams.pem".path;
sslDhparam = mkIf (config ? age) config.age.secrets."dhparams.pem".path;
commonHttpConfig = ''
log_format json_combined escape=json '{'
'"time": $msec,'