My First Postmortem: Let’s Start

  • Think about the steps real world analogies for the problem.
  • Clearly define all your inputs and outputs.
root@966c5664b21f:/# curl 0:80
curl: (7) Failed to connect to 0 port 80: Connection refused
root@c417ecdf1bf0:/# cd etc/nginx/
root@c417ecdf1bf0:/etc/nginx# ls
conf.d koi-utf mime.types naxsi.rules nginx.conf scgi_params sites-enabled win-utf
fastcgi_params koi-win naxsi-ui.conf.1.4.1 naxsi_core.rules proxy_params sites-available uwsgi_params
root@c417ecdf1bf0:/etc/nginx# cd sites-available/root@c417ecdf1bf0:/etc/nginx/sites-available# ls
default
root@c417ecdf1bf0:/etc/nginx/sites-available#
root@c417ecdf1bf0:/etc/nginx# cd sites-enabled/
root@c417ecdf1bf0:/etc/nginx/sites-enabled# ls
default
#!/usr/bin/env bash
# Configures an Nginx server to listen on port 80.
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
sudo service nginx restart

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store