mirror of
https://github.com/oddlama/nixos-extra-modules.git
synced 2025-10-10 22:00:39 +02:00
docs: add overview
This commit is contained in:
parent
c55f465ba1
commit
4744a2844c
4 changed files with 133 additions and 27 deletions
|
@ -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,'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue