[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx refusing connection on port 443
From: |
Julien Lepiller |
Subject: |
Re: nginx refusing connection on port 443 |
Date: |
Mon, 30 Aug 2021 03:35:30 +0200 |
Le Wed, 25 Aug 2021 21:25:03 -0700,
crodges <crodges@csphy.pw> a écrit :
> Hello everybody,
>
> I'm setting up a guix vps and having some trouble, mainly because I'm
> getting used to the guix way. After a few tries, I finally got a
> let's encrypt certificate and nginx configured to read it. Problem
> is, nginx accepts fine connections on port 80, but when I try 443 I
> get
>
> curl: (7) Failed to connect to lambdashire.com port 443 after 5249
> ms: Connection refused
>
> My first thought was to open port 443 on the firewall, but I don't
> know how to do that and didn't find how to in a few configuration
> examples I searched. Is this the right approach, to open the port? If
> it is, can you please point me to some documentation so I can try to
> figure out myself?
>
> First time posting. Thanks.
Hi crodges,
Could you share your configuration? Especially the part where you
declare the nginx-service-type? There is a listen field that you should
set to something like:
(listen '("443 ssl http2" "[::]:443 ssl http2"))
of course, you can adapt it to your needs using the Nginx syntax.