You want an easy to configure, scalable, high performance webserver? look no futher than NGINX.
Setup your Server :
1) Spin up Ubuntu LTS 18.04
2) sudo apt update
3) sudo apt install nginx
Setup your firewall to allow port 80 web traffic(ufw is installed by default.. but you can always install it w/ sudo apt-get install ufw) :
1) sudo ufw allow 'Nginx HTTP'
you can setup https and learn to secure your nginx w/ lets encrypt w/ this blog (future blog link here)
That's it... you're done. (click here for more config options)
Why use NGINX, here are some expert opinions:
"My advice to anyone running a web site today who is hitting performance constraints is to investigate whether they can use NGINX. CloudFlare has been able to scale over the last year to handle more than 15 billion monthly page views with a relatively modest infrastructure, in large part because of the scalability of NGINX. Our experience shows that switching to NGINX enables full utilization of the modern operating system and existing hardware resources."
– Matthew Prince, co-founder and CEO of CloudFlare
Comments
Post a Comment