launch aws ec2 ubuntu test instance:
https://www.youtube.com/watch?v=lhvSvNFMd7E
Install nginx from Ubuntu repository:
00:00 - sudo apt-get update
00:13 - sudo apt-get install nginx
00:43 - sudo nginx -v
Start nginx:
00:48 - sudo systemctl start nginx
Automatically start nginx at server boot time:
00:57 - sudo systemctl enable nginx
AWS console:
01:32 - copy the assigned public IP address
01:38 - welcome to nginx
Check default response headers:
01:42 - Inspect
01:46 - Refresh the page
01:49 - Go to Network: Response Headers