Loading...
The thing that i used to think was too complex but tbh it's a piece of cake so let's get start it.

Nginx was originally made to solve the C10K problem which was servers having that they cannot handle 10K concurrent connections and server crashes. So the working of previous servers (Apache) was to assign every single user a seprate process so when 10K users connects to the website it crashes.
Then in nginx asynchronous non-blocking architecture was introduced the very same reason JavaScript out performs even being a single threaded language.
For ubuntu you can do
Now we need to enable it
see this image

You need to run command with sudo cause I’ve super user privilages in my vps so I don’t need to use script with sudo
so don’t worry about that.
open config file in editor
and do
save this config
now
now test local
I’ll be updating documentation for Certbot later so have patience