(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
| # [🟨OPTIONAL] Uninstall old docker versions | |
| sudo apt-get remove docker docker-engine docker.io containerd runc | |
| # Refresh latest version | |
| sudo apt-get update | |
| # Install pre-req | |
| sudo apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg \ |
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {