unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How to get nginx and letsencrypt working on the guix system
@ 2023-10-31 18:23 Tobias Alexandra Platen
  2023-10-31 18:27 ` Julien Lepiller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tobias Alexandra Platen @ 2023-10-31 18:23 UTC (permalink / raw)
  To: guix-devel

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-31 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 18:23 How to get nginx and letsencrypt working on the guix system Tobias Alexandra Platen
2023-10-31 18:27 ` Julien Lepiller
2023-10-31 19:00 ` Tobias Alexandra Platen
2023-10-31 19:51 ` Clément Lassieur

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).