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 treewide: Switch to system users 2019-10-12 22:25:28 +02:00
jboss nixos/module/jboss: Add types to options (#110451) 2021-01-22 11:11:40 +01:00
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 fcgiwrap module: use enum 2016-11-04 13:04:52 +09:00
hydron.nix nixos/hydron: replace deprecated usage of PermissionsStartOnly 2019-05-25 08:38:15 -04:00
mighttpd2.nix nixos/mighttpd2: /var/run -> /run 2019-03-24 21:15:33 +01:00
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 nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
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