-
Serving Node application in production
When we want to serve our Node app in production and with best performance, we need to minimize our static files (javascript, stylesheets, images,…), setup Nginx for serving those static files/proxying requests to our application server and installing process manager that will keep our application alive in case of crashes. Minimizing our static files is…
-
Switching from HTTP to HTTPS
Today my virtual private server on DigitalOcean became secure virtual private server. Hell yeah, I enabled HTTPS! It was simple! I just followed How To Secure Nginx with Let’s Encrypt on Ubuntu 14.04 from DigitalOcean which uses a client provided by Let’s Encrypt to get a free certificate and then enlists steps with how to…