From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: Adam Kandur <manualbot@icloud.com>
Cc: guix-devel@gnu.org
Subject: Re: Example Nginx config from Guix manual does not work
Date: Sat, 24 Dec 2022 20:43:20 -0800 [thread overview]
Message-ID: <CAFHYt54jp+oeDw2f79v8XrtfJzup==D3qho6gdM9mgviOUCixg@mail.gmail.com> (raw)
In-Reply-To: <513cf35a-22d5-474b-8b1e-640a369a5aa4@me.com>
Hi Adam,
On Sat, Dec 24, 2022 at 2:29 AM Adam Kandur <manualbot@icloud.com> wrote:
>
> Which will not work because it asks to listen on 443 with ssl, which is not possible because no certificates are provided.
I use this configuration [1] but also face a chicken-and-egg problem
for new sites. I normally take nginx offline with
sudo herd stop nginx
and then configure any newly needed certificates from Let's Encrypt with
sudo certbot certificates --standalone
Then I start Nginx again.
At my convenience (but within ninety days) I then reconfigure the
equipment while including both the new website in Nginx and the new
Certbot definition in config.scm.
Hope that helps!
Kind regards
Felix Lechner
[1] https://codeberg.org/lechner/system-config/src/commit/2b6e49e466cb8bd4a3715111b4a4690192941ac8/host/wallace-server/operating-system.scm#L581-L743
next prev parent reply other threads:[~2022-12-25 4:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-23 18:39 Example Nginx config from Guix manual does not work Adam Kandur
2022-12-25 4:43 ` Felix Lechner via Development of GNU Guix and the GNU System distribution. [this message]
2022-12-25 4:49 ` Kefir .
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='CAFHYt54jp+oeDw2f79v8XrtfJzup==D3qho6gdM9mgviOUCixg@mail.gmail.com' \
--to=guix-devel@gnu.org \
--cc=felix.lechner@lease-up.com \
--cc=manualbot@icloud.com \
/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.