nixpkgs/nixos/modules/services/web-servers
Lucas Savva 377c6bcefc
nixos/acme: Add defaults and inheritDefaults option
Allows configuring many default settings for certificates,
all of which can still be overridden on a per-cert basis.
Some options have been moved into .defaults from security.acme,
namely email, server, validMinDays and renewInterval. These
changes will not break existing configurations thanks to
mkChangedOptionModule.

With this, it is also now possible to configure DNS-01 with
web servers whose virtualHosts utilise enableACME. The only
requirement is you set `acmeRoot = null` for each vhost.

The test suite has been revamped to cover these additions
and also to generally make it easier to maintain. Test config
for apache and nginx has been fully standardised, and it
is now much easier to add a new web server if it follows
the same configuration patterns as those two. I have also
optimised the use of switch-to-configuration which should
speed up testing.
2021-12-26 16:44:10 +00:00
..
apache-httpd nixos/acme: Add defaults and inheritDefaults option 2021-12-26 16:44:10 +00:00
caddy nixos/caddy: introduce several new options 2021-12-20 20:00:42 -05:00
hitch
jboss
lighttpd treewide: add literalDocBook text to options with complex defaults 2021-12-09 01:38:24 +01:00
nginx nixos/acme: Add defaults and inheritDefaults option 2021-12-26 16:44:10 +00:00
phpfpm nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
trafficserver treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
unit nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
varnish nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
darkhttpd.nix nixos/darkhttpd: set port type to types.port 2021-05-30 14:38:18 +02:00
fcgiwrap.nix
hydron.nix
mighttpd2.nix
minio.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
molly-brown.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
pomerium.nix nixos/pomerium: fix useACMEHost 2021-04-07 01:26:44 +00:00
shellinabox.nix
tomcat.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
traefik.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
ttyd.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
uwsgi.nix nixos/*: escape config reference in examples and descriptions 2021-12-02 22:35:05 +01:00
zope2.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00