all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Kefir ." <manualbot@icloud.com>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: guix-devel@gnu.org
Subject: Re: Example Nginx config from Guix manual does not work
Date: Sun, 25 Dec 2022 07:49:23 +0300	[thread overview]
Message-ID: <41FBA424-8F4D-4289-8322-2FA3FEA8C031@icloud.com> (raw)
In-Reply-To: <CAFHYt54jp+oeDw2f79v8XrtfJzup==D3qho6gdM9mgviOUCixg@mail.gmail.com>

Hi Felix!
Thank you for this solution. But my point was in starting nginx server without encryption. Probably it should be a separate argument or something.
In my case I used (local-file ) to set needed settings but your suggestion looks nice.

> On Dec 25, 2022, at 7:44 AM, Felix Lechner <felix.lechner@lease-up.com> wrote:
> 
> 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


      reply	other threads:[~2022-12-25  4:49 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.
2022-12-25  4:49   ` Kefir . [this message]

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=41FBA424-8F4D-4289-8322-2FA3FEA8C031@icloud.com \
    --to=manualbot@icloud.com \
    --cc=felix.lechner@lease-up.com \
    --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.