I have written this blog for brand new OpenBSD users. As long as you know how to open a terminal on your Windows, Linux or Mac system and you know how

Building a Hugo Blog on OpenBSD 7.5 Using HTTPD, Letsencrypt and Relayd

submited by
Style Pass
2024-05-16 18:30:16

I have written this blog for brand new OpenBSD users. As long as you know how to open a terminal on your Windows, Linux or Mac system and you know how to type: ssh root@your-ip-or-hostname.com then you should be able to get an OpenBSD blog up and running in a few minutes if you are in a rush (eg if you were to ignore all my written text and just paste the commands!) or 20-30 mins if you are wanting to take your time and understand it all.

Along the way, I am going to show you some nifty little tricks for debugging things which I had to use myself when building this server, such as checking for listening ports, seeing which processes were running on which ports, running the httpd (the web server) under daemon mode and other randomness which was crucial for me to write a blog post for you guys which just worked.

Some of you may wonder why I used Relayd as a reverse proxy for the HTTPD server when I could have just skipped that and had HTTPD server listen on port 443 and port 80. You’re right - I didn’t need to. But the truth is, I just wanted to because I really like the way Relayd handles https certs and I wanted to show others how to use the reverse proxy features.

Leave a Comment