From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 19512 invoked from network); 5 Jan 2023 20:10:05 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 5 Jan 2023 20:10:05 -0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by 9front; Thu Jan 5 15:08:32 -0500 2023 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8D56B5C00F3 for <9front@9front.org>; Thu, 5 Jan 2023 15:08:31 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute6.internal (MEProxy); Thu, 05 Jan 2023 15:08:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cbza.org; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1672949311; x= 1673035711; bh=L/Se6UmoSterw0QiyM78Xwq16n50WUKAlrYk6OVrsWM=; b=K Fb/X3zC7IbIXmHu1oKBONs7V4aC6LNsAkWoIBah6ag2cbdS/gnIbCKNciz2I7BkD tYcSDjY2rfTPfWkOtiSKq3sEPNHc/N1aEBbGUqmeBo16usWMQUvtILKxHXN8Uu48 m6gJXBrxJZrZphfNkyV0nqJdiew+QOI7aruMSvqjn/w1r07UHWz3RBF9CX8PCYpE kKxBECzQlDnONZyXDV9MJhclDeqhTX5xgslNRykXnqYSFfT7tzTF40ZAikK4/bTC nSHWdSSs0zgBwET3Ue35Zn3rlMTuSkdGVMzSqGDAiAqHG3V9Kenejn6o0UT9g/Qy oCCsjydHnt2yk5P581Iag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1672949311; x=1673035711; bh=L /Se6UmoSterw0QiyM78Xwq16n50WUKAlrYk6OVrsWM=; b=EVP04cwwsZgJbYdpj 3IIBWYoW0wiWWo+6OSiCFk1S8GMTZJUJVqYiLa0G7Q7zUtILtDtgmSN/yFc8nYlW pQZShr/gYYQYI52OXsV8d7ZglDj/NBrqTsSPI+6hbk3DrAIEUDIEUw0gXTEA14uG PVcLDNfSdPkDEMlGa7532c94CYffT/rPtWim8ecfDrDOlUWFZvKsQPkPEjQEwDCS efqDzBR7OwBn+loxFXpFWhUFNclKv45UTinhnIWZACd/1SzUWEajBaAHaB4h6pOP jVH++0Cw8ABCawj5h8Ro5/LmKrtKeJ5heXWjivfdg/x4tPYucAbudk6rOY+KfS4h oGglA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjeekgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdeuvghnjhgrmhhinhcurfhurhgtvghllhdfuceoshhp vgifsegtsgiirgdrohhrgheqnecuggftrfgrthhtvghrnhepvdduudeiudffhfdtleffvd evhffhveekheevveelffdvgfdvteetjeefgfekkeefnecuffhomhgrihhnpeellhgrsgdr ohhrghdpghhohhhughhordhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehsphgvfiestggsiigrrdhorhhg X-ME-Proxy: Feedback-ID: i89414493:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 569BC272007A; Thu, 5 Jan 2023 15:08:31 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <2bbfa542-577a-4e1c-a960-e6b9c6329993@app.fastmail.com> In-Reply-To: <6FED4E9B3304F52FD224062F4730C609@9lab.org> References: <6FED4E9B3304F52FD224062F4730C609@9lab.org> Date: Thu, 05 Jan 2023 15:08:31 -0500 From: "Benjamin Purcell" To: 9front@9front.org Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: abstract SSL over YAML framework configuration-based app CMS control Subject: =?UTF-8?Q?Re:_[9front]_Howto:_manage_web_content_and_host_multiple_sites?= =?UTF-8?Q?_on_9front=E2=80=A6?= Reply-To: 9front@9front.org Precedence: bulk Dear Igor, Thanks for the tcp80, it looks wonderful. I hope you don't mind if I mak= e a very trivial suggestion which you can certainly ignore. Regcomp is e= xpensive, much more so than regexec so you could just compile the expres= sions once, this could make a difference for very complicated expression= s if the server were under load. Thanks and best regards! spew=20 On Wed, Jan 4, 2023, at 19:51, igor@9lab.org wrote: > Maybe some of you find these notes on how to host websites on 9front > with a customised tcp80 coupled with tlssrv(8) and acmed(8) for SSL > support, and a ported version of Hugo=E2=81=BD=C2=B9=E2=81=BE, a Go ba= sed static site > generator, useful: > > =E2=80=A2 https://9lab.org/plan9/web-server-with-go-based-static-site-= generator-hugo/ > > Those of you that already have a working 9front web content management > and hosting solution might be unimpressed, howbeit, if you are still > exploring solutions this write-up might provide some ideas=E2=80=A6 > > If you spot any mistakes or attribution errors please let me know. > > Cheers, > Igor > > =E2=81=BD=C2=B9=E2=81=BE=E2=80=A6 https://gohugo.io/