From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ITRyOAk2LGFxWwAAgWs5BA (envelope-from ) for ; Mon, 30 Aug 2021 03:36:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EKeDMwk2LGGoBQAAB5/wlQ (envelope-from ) for ; Mon, 30 Aug 2021 01:36:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EBFA31CF7B for ; Mon, 30 Aug 2021 03:36:08 +0200 (CEST) Received: from localhost ([::1]:48870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKWDY-0000rF-1N for larch@yhetil.org; Sun, 29 Aug 2021 21:36:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKWDM-0000qi-V9 for help-guix@gnu.org; Sun, 29 Aug 2021 21:35:56 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:45640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKWDI-00011K-Q1 for help-guix@gnu.org; Sun, 29 Aug 2021 21:35:56 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2fb69977; Mon, 30 Aug 2021 01:35:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=V3vAkxyli+7i 4Kap5FpBSQ29vdlV/GZfBVWu8cpzJrQ=; b=k6GXdA59+BXE/8Qb5A4dLbe6Uimt EdFp8lRteTki0nRgiJYlxETd1AlyUtyq3nJh1pR/7PxD1Q5TAfrAMTfnsSVJcHFn 7Lna7yEzdom+HFoheLqUQO/q7Ktc+OppO5diwSeajBUZx55f5Xvn9eIWs7bjcpKV VzuIgxHcyOXFw3UDmeMwvgefOKBDVK/5W3dYPCEPkRglHMUoorNKuksN9HxwWfHB M6tePFgczIVcYeq2EPYkpVdjlmTpG2noB4QoeiWkLFxDs1o9moyfPpQgdPPIrp7U CzjBYIJDvkOV67wvDBi5BsTNVlihZGvjEtcB1MjCBCARBIOk1Kp9d1KFJA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id a34ef675 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 30 Aug 2021 01:35:43 +0000 (UTC) Date: Mon, 30 Aug 2021 03:35:30 +0200 From: Julien Lepiller To: crodges Subject: Re: nginx refusing connection on port 443 Message-ID: <20210830033530.66525699@tachikoma.lepiller.eu> In-Reply-To: <3603365.t5iAGTFeuN@sceadufaex> References: <3603365.t5iAGTFeuN@sceadufaex> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630287369; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=V3vAkxyli+7i4Kap5FpBSQ29vdlV/GZfBVWu8cpzJrQ=; b=u78wqz58J5UhOruEeVd7vbLTCMGs+drOZtfBh5T2f7IN10N4RX6+WOG5m8UHTZHSCSP8He 16OrrFvgY7UrVdVZYn8NKxCCDu1OXE3c7/KmEHcafH+/UfA+uwbwRuBfm6Dlim1dQbAub5 PaOhuHErNlGGze4qKJGK7GC21AjqtyDroxdz3Q0bG814z3/tp70dPRe3N85OvnUEfUPC3W UxciQI0rrCOGEnJgLRifB2H5ZqfBW9L4UloKQLtTY70htg0iURQ6sTA6OQudJ9xdNUttC1 jWe7faT3YyHDC52Lyvykl//M1GT/XStF06FKp8nGGkCgpw8n+gYuvFdW3A/Hng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630287369; a=rsa-sha256; cv=none; b=n5Y6cI7D8DGumJFMoYy5S5Dzcgo3NtU2fi/mQ0g0IJVdc7zF5EELyBDc+K/4DfozU+df3p HmxWANuT/X0Nmdb3qHiYX5lY+xJq3u6aJmx+tWdgADWELFwt/GHke1ChwOEB2Ex1tjZU9h +oQt9YvNqcDurvCCvx2CjHUpq8WucrRBzf27A7XkLmpaq+cb4+wc8KjRFL3TOnpnYyN5kb 4IFhGKsfBudWmyOtauxTPToWw/JQ9riAIh54OnuL46xVXO4EHzjdC+Iq8YIUzpcI2ww51i XKAuFjUVp8A1tRqP12GdaFS9rqvm0eRiAm+ScL8+aP2paiJ4ER9qzp9ckonZGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=k6GXdA59; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lepiller.eu header.s=dkim header.b=k6GXdA59; dmarc=pass (policy=none) header.from=lepiller.eu; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: EBFA31CF7B X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: nXXb0t8xnUZ9 Le Wed, 25 Aug 2021 21:25:03 -0700, crodges a =C3=A9crit : > Hello everybody, >=20 > 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 >=20 > curl: (7) Failed to connect to lambdashire.com port 443 after 5249 > ms: Connection refused >=20 > 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? >=20 > 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.