1
0

Syntax cleanup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jens True 2020-02-29 16:51:43 +01:00
parent cd0def2d88
commit 8504b65d94

@ -28,11 +28,11 @@ image:
projects: []
---
# Introduction
## Introduction
I self host this site. I consider it a learning experience into hosting and managing a full linux server stack. The purpose of this post is to describe my current setup as notes to myself should I ever need to redo a similar setup.
My setup attempts to achieve the following goals
My setup attempts to achieve the following goals:
- Require no or little maintenance
- I do not wish to daily check the status of the server
@ -41,17 +41,18 @@ My setup attempts to achieve the following goals
- Employ best practices
- TLS, Git and containers are all considered best practices in modern software development.
Out of scope
Out of scope:
- Uptime and reliability
- I self host and do not host any critical services.
- Performance and scaling
- The server is purely for personal use and hardware is cheap.
# Hardware
## Hardware
The websever is hosted on an HP MicroServer Gen8. The OS runs off a 120GB SSD driver and 2x3TB HDD running RAID1 on the btrfs filesystem. This provides a suitable balance between storage capacity, and performance.
# Network
## Network
The server is connected via Gigabit Ethernet to an ASUS router. The router supports both IPv4 and IPv6 and does port forwarding for port 80 and port 443 to the statically configured IP address.
@ -59,12 +60,12 @@ On the WAN side a 150/150Mb/sec fiber connection provides internet connection.
The domain is registered via gandi.net providing both registration and name servers.
# Software
## Software
The software stack is built on containers. A reverse-proxy is employed to provide SSL certificates through LetsEncrypt. The webserver itself is Nginx running on an internal virtual network.
All containers are automatically updated as is the host system.
# Build
## Build
The site uses the hugo static site generator. The content of the site are maintained in a git repository. On each update to the repository a dedicated build server generates the HTML and pushes it to the webserver. This allows the site to be updated from any machine with access to git.