All posts with the tag nginx

How to add FREE SSL/TSL and HTTPS to nginx using Let’s Encrypt /01

The internet is a big place, and when we request a website our request ends up going through several other people's servers before hitting the website's server. Then it needs to come back too! In those 'in-between' routes there could be malicious actors that could read and even alter the website that comes back to you! For example, if you are using a website that is not secure, aka not using HTTPS but only the HTTP. Then someone can read the website before you do. Log into your banking website that is only using HTTP, someone could be reading your bank account numbers and records, along with reading your password you entered into their login form.

How to host nodejs with nginx using reverse proxy /02

There are a lot of different types of proxies in computer networking. A reverse proxy is when you have a server(Nginx) in front of a group of client machines(browser's in our case). When requests come in from those client's the reverse proxy intercepts them and then talks to other server's on behalf of the client. It is very possible to host your nodejs app on ports `80`(HTTP) and `443`(HTTPS) but you loose out on some really cool capabilities that Nginx brings when you do that. Some examples...

How to host sites with nginx and server blocks /03

If you are coming from Apache then a server block is pretty much the same as a VirtualHost in apache. If not, then a server block makes it so you can host many different websites on the same server. Create a new NGINX server block

How to install NGINX on Ubuntu /04

Nginx, pronounced like “engine-ex”, is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. Need an extremely fast and easy to configure web server and reverse proxy? Look no further than nginx!... On Ubuntu it is very easy to install due to it being in the default repositories using `apt`.

Let's get started together/01