unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: divoplade <d@divoplade.fr>
To: help-guix@gnu.org
Subject: Certbot service: no http -> https redirection
Date: Tue, 20 Oct 2020 09:40:39 +0200	[thread overview]
Message-ID: <9b692ffdb5f2c36d1d180469b80d680a6124a30e.camel@divoplade.fr> (raw)

Dear guix,

I have a certbot service with a nginx service. If I understand
correctly, certbot should hack the nginx configuration in order to
register itself for all .well-known/acme-challenge (I'm not sure for
the path syntax, but that's not the point) requests, and basically
redirect all other HTTP requests to HTTPS.

However, my system does not seem to do that.

How does guix know that my web server configuration needs to be
extended with certbot's anyway? Should I add a configuration entry?

For now my web configuration is:
https://code.divoplade.fr/divoplade-site.git/tree/divoplade/services/web.scm

Notice that there's no configuration entry for certbot.

My certbot configuration is:
https://code.divoplade.fr/divoplade-site.git/tree/divoplade/services/certbot.scm

Best regards,

divoplade



             reply	other threads:[~2020-10-20  7:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  7:40 divoplade [this message]
2020-10-20  9:42 ` Certbot service: no http -> https redirection jbranso
2020-10-20 10:17   ` divoplade
2020-10-20 12:04     ` Julien Lepiller
2020-10-20 18:34       ` Joshua Branson
2020-10-20 19:57         ` Julien Lepiller
2020-10-20 21:01           ` Joshua Branson

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b692ffdb5f2c36d1d180469b80d680a6124a30e.camel@divoplade.fr \
    --to=d@divoplade.fr \
    --cc=help-guix@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.
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).