From: Tobias Alexandra Platen <guix@platen-software.de>
To: guix-devel@gnu.org
Subject: How to get nginx and letsencrypt working on the guix system
Date: Tue, 31 Oct 2023 19:23:32 +0100 [thread overview]
Message-ID: <67713d793edf4bcdcbf897dcfa3b657191c610b3.camel@platen-software.de> (raw)
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.
next reply other threads:[~2023-10-31 18:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 18:23 Tobias Alexandra Platen [this message]
2023-10-31 18:27 ` How to get nginx and letsencrypt working on the guix system Julien Lepiller
2023-10-31 19:00 ` Tobias Alexandra Platen
2023-10-31 19:51 ` Clément Lassieur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67713d793edf4bcdcbf897dcfa3b657191c610b3.camel@platen-software.de \
--to=guix@platen-software.de \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.