book and code

Tag Archives

14 Articles

How Does DNS Resolution Exactly Work?

by Jamey 0 Comments
How Does DNS Resolution Exactly Work?

This may sound stupid, but at a low level, it’s often something that remains unknown to many in the IT industry — even seasoned professionals.

At the highest level, DNS is the basic protocol that maps hostnames to IP addresses. But there’s a whole lot more going on behind the scenes…

16 views

Nginx HTTP-to-HTTPS AND domain.com-to-WWW Redirect Using AWS ELB for SSL Termination

by Jamey 0 Comments
Nginx HTTP-to-HTTPS AND domain.com-to-WWW Redirect Using AWS ELB for SSL Termination

You are running Nginx as a webserver or reverse proxy, and you are terminating SSL on an Amazon Elastic Loadbalancer.

The loadbalancer is passing HTTP traffic from port 80 to HTTP port 80 on your EC2 instance(s).

The loadbalancer is decrypting HTTPS traffic from port 443 and also passing it on to HTTP port 80 on your EC2 instance(s).

You are looking for the following functionality:

http://domain.com => https://www.domain.com
https://domain.com => https://www.domain.com
http://www.domain.com => https://www.domain.com
https://www.domain.com => https://www.domain.com

5 views

Test Case: Deploying a Hugo App to Heroku

by Jamey 0 Comments
Test Case: Deploying a Hugo App to Heroku

I have recently been hearing about Hugo and how easy it is to manage for blogs and such (it uses/renders Markdown), and ever since I heard about Heroku’s free tier, I’ve been wanting to give it a shot. This article will be documenting how I went about doing both.

36 views