Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #246198

Re: Simple and secure blogging software for nginx

From Chris Mitchell <chris@oldnest.ca>
Newsgroups linux.debian.user
Subject Re: Simple and secure blogging software for nginx
Date 2022-03-11 18:10 +0100
Message-ID <DZQW5-14CV-3@gated-at.bofh.it> (permalink)
References <DZycP-Tkb-65@gated-at.bofh.it> <DZyFP-Tu1-3@gated-at.bofh.it> <DZyFP-Tu1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 10 Mar 2022 22:39:34 +0100
Christian Britz <cbritz@t-online.de> wrote:

> Sure, I think I was not precise in my posting. I am willing to add
> something dynamic, and I was not sure if Apache and nginx support the
> same toolkits.
> 
> You and others brought in several static content generators, I will
> consider that option too.

I believe Apache and nginx both have fairly robust support for popular
server-side languages like PHP, so many toolkits will work happily on
top of either one.

That said, you did mention "as secure as possible" in your initial
request, and obviously no other option comes anywhere near static html
pages in terms of security.

Count me as another voice in favour of a static site generator. In
particular, I've been playing around with Hugo, which won me over
largely by virtue of using Markdown as its input format. With all
respect to LaTeX (sorry Russell!), it's a staggeringly complex
language with a steep learning curve. If you want a markup language
that supports every typographical feature ever invented, you can't beat
LaTeX. For basic web content with links, emphasis, and the occasional
bulleted list, Markdown is enough tool for the job, and has the
advantages of simplicity and vastly greater human-readability. I don't
know about you, but I don't need a 747 to get to the corner store.

Site generators like Hugo automatically generate nav menus, TOCs, and
similar, so you get a lot of the convenience features of a blogging
platform... just without the platform. If you use git, you can make a
relatively uncomplicated, entirely self-hosted deploy pipeline that
updates the site automatically whenever you make a commit to the
website's git repo, as shown here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-hugo-site-to-production-with-git-hooks-on-ubuntu-14-04

And since the content is all plain Markdown files stored in a sensible
directory structure on disk, it's very portable in case you want to
move to some other platform later.

There is definitely a bit of a learning curve with Hugo, though if you
start with a pre-built "theme", it's not overly hard to get a site up
and running now and delve into all the customizable details later.

Cheers!
 -Chris

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-10 22:10 +0100
  Re: Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-10 22:20 +0100
    Re: Simple and secure blogging software for nginx <paulf@quillandmouse.com> - 2022-03-11 04:40 +0100
      Re: Simple and secure blogging software for nginx "Russell L. Harris" <russell@rlharris.org> - 2022-03-11 07:00 +0100
        Re: Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-11 09:50 +0100
    Re: Simple and secure blogging software for nginx songbird <songbird@anthive.com> - 2022-03-11 15:40 +0100
      Re: Simple and secure blogging software for nginx "Russell L. Harris" <russell@rlharris.org> - 2022-03-11 19:10 +0100
        Re: Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-11 19:40 +0100
          Re: Simple and secure blogging software for nginx songbird <songbird@anthive.com> - 2022-03-11 23:50 +0100
  Re: Simple and secure blogging software for nginx "der.hans" <deb-user@LuftHans.com> - 2022-03-10 22:30 +0100
  Re: Simple and secure blogging software for nginx Greg Wooledge <greg@wooledge.org> - 2022-03-10 22:30 +0100
    Re: Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-10 22:40 +0100
  Re: Simple and secure blogging software for nginx Christian Britz <cbritz@t-online.de> - 2022-03-10 22:40 +0100
    Re: Simple and secure blogging software for nginx Kevin Exton <kcexton01@gmail.com> - 2022-03-10 23:10 +0100
    Re: Simple and secure blogging software for nginx Chris Mitchell <chris@oldnest.ca> - 2022-03-11 18:10 +0100
      Re: Simple and secure blogging software for nginx Greg Wooledge <greg@wooledge.org> - 2022-03-11 20:10 +0100
  Re: Simple and secure blogging software for nginx Dan Ritter <dsr@randomstring.org> - 2022-03-10 22:40 +0100
  Re: Simple and secure blogging software for nginx <paulf@quillandmouse.com> - 2022-03-11 04:40 +0100
  Re: Simple and secure blogging software for nginx Jörg-Volker Peetz <jvpeetz@web.de> - 2022-03-11 11:40 +0100

csiph-web