guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get nginx and letsencrypt working on the guix system


From: Clément Lassieur
Subject: Re: How to get nginx and letsencrypt working on the guix system
Date: Tue, 31 Oct 2023 20:51:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

On Tue, Oct 31 2023, Tobias Alexandra Platen wrote:

> I installed the guix system on a virtual machine, and changed the
> config as documented in the guix manual under 12.9.19 Web Services:
>
> (service certbot-service-type
>                     (certbot-configuration
>                         (email "tplaten@posteo.de")
>                             (certificates (list (certificate-
> configuration
>                         (domains '("stream.isengaara.de")) (deploy-hook
> %nginx-deploy-hook))))))
>                  ;;; nginx testing
>                  (service nginx-service-type 
>                     (nginx-configuration
>                       (server-blocks
>                         (list (nginx-server-configuration
>                           (server-name '("stream.isengaara.de"))
>                             (root "/srv/http/stream.isengaara.de"))))))
>
> Certbot needs running nginx to create a certificate, and nginx wont
> start without a certificate. The documentation does not explain how
> to solve this circular service dependency.

Hi!  There is some reading about it there:

https://debbugs.gnu.org/cgi/pkgreport.cgi?include=subject%3Acertbot;package=guix

There is a proposal from Brice but it's not implemented yet, as far as I
know (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46961).

Please talk about it on the bug tracker rather than guix devel, this
allows for better tracking.

Thanks,
Clément



reply via email to

[Prev in Thread] Current Thread [Next in Thread]