Tag: programming
-
Mastering Nginx: Serving HTTP&HTTPS Traffic from a Single Port
When I first set up my web server, I used port 8086 for HTTP traffic. It worked fine—it was functional, accessible, and did what I needed. But as time went on, I realized something: sticking to standard ports, 80 for HTTP and 443 for HTTPS, isn’t just about following convention; it’s about improving accessibility, security, and professionalism. In this post, I’ll…
-
Read and write most commonly used config files
Configuration files are crucial for setting up software applications, specifying settings, and managing operational parameters. In this article, we will explore the top most commonly used configuration file formats, understand their history, advantages, and disadvantages, and provide Python snippets for reading and writing these formats. These config files include JSON, conf, XML, HCL, YAML, TOML,…