Posts

Showing posts from September, 2021

Forget Goal setting - do this instead

Image
James Clear in his book Atomic Habits, talks about the problems with goal setting  I had been a goals person for most of my life until I read about what james had to say about goal setting. He makes a good point: both losers and winners in life have the same goals. What actually differentiates them is their System for achieving goals. I used to ask my self 'what are my goals?' all the time. I dont do that anymore . I ask myself a different question now  I ask : yup  what are my systems you see goals solve the problem once  systems solve the problem for ever example: before: I'm hungry my goal: I want to eat ok ill go to the store and buy almonds and bananas and eat them. problem solved for today now: im hungry what is my system for food? my system:  regular subscription for almonds and bananas setup with local grocery store. problem solved for ever.

How to run multiple HTTPS web servers from a single server

Image
Hi today we will explore how to run multiple HTTPS web servers from a single sever instance. consider this: you have a home server and have setup a website on the port 80 with your WAN ip and then you want to run another website but dont have another IP address  what do you do? It is possible to run multiple web servers with reverse proxy using nginx. Prerequisits: 1. Nginx  2. Two or more application servers running on one Environment on different ports consider this code: