summary refs log tree commit diff
path: root/tests/services
diff options
context:
space:
mode:
authorSaku Laesvuori <saku@laesvuori.fi>2023-04-04 23:43:46 +0300
committerLudovic Courtès <ludo@gnu.org>2023-06-18 23:12:10 +0200
commita82130de50d2c84d77492d9aa43e4b7f4b06b4b2 (patch)
tree1d86d579673c4240d06d6bb8b74d08ee607cfbcf /tests/services
parentc0921a394dc218c1852679df0cd4d548eb2bb640 (diff)
downloadguix-a82130de50d2c84d77492d9aa43e4b7f4b06b4b2.tar.gz
services: certbot: Fix nginx crash when certbot is used without domains.
* gnu/services/certbot.scm (certbot-nginx-server-configurations):
Don't return a broken nginx-server-configuration with empty server_name
when no certificate domains are configured. Instead add a separate
server for every certificate, so 0 certificates adds 0 servers.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reviewed-by: Bruno Victal <mirai@makinata.eu>
Diffstat (limited to 'tests/services')
0 files changed, 0 insertions, 0 deletions