[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Example Nginx config from Guix manual does not work
From: |
Felix Lechner |
Subject: |
Re: Example Nginx config from Guix manual does not work |
Date: |
Sat, 24 Dec 2022 20:43:20 -0800 |
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