Migrating Nginx to Docker

There are many ways to install a Nginx web server on Linux. It can be installed using OS’s packager manager, either from distro’s repositories on from Nginx’s official repos. It can be compiled from source. But my favorite way is definitely in a Docker container. Main benefits are: Nothing is installed on the system Many different versions are available (without adding external repositories) It’s easy to transition from a normal install to Docker Step 1: Preparing Nginx configuration file I already wrote about creating a basic Nginx configuration file here, so I will just briefly point out what was changed to be used in Docker....

March 1, 2023 · 2 min

Hosting a Hugo website with Nginx on RHEL

For me the toughest and most time consuming part of web development was always front end. All the centering divs, box models and CSS inheritance stuff. And even if I get all the code to work, website still looks like highschool student’s project from the 90s. Well, no more. Hugo framework allows users to create websites using Markdown language, and takes care of rendering Markdown files into HTML and CSS code....

February 18, 2023 · 6 min