If you can drive a text editor, and ubuntu, you may like the following document except with one proviso:
https://github.com/alecmuffett/the-onion-diaries/blob/master/basic-productio...
...the proviso is that it does *not* take you as far as setting up a WWW server (Apache, NGINX) because people like to choose one for themselves.
But what it does give you is something that I believe is the most secure foundation upon which to install a webserver, plus also 4 pre-configured onion addresses which are nicely integrated into the Ubuntu configuration so they are easily referenceable by NGINX (etc) configurations; you can meaningfully set up "listeners" on distinct, separate, named onion addresses/interfaces, rather than on 127.0.0.1
-a