User Tools

Site Tools


nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nginx [2015-03-08 14:55]
gabriel link
nginx [2019-08-10 18:34] (current)
gabriel fixed typo
Line 1: Line 1:
-====== ​Why Nginx? ​======+====== ​nginx ======
  
-I'​m ​now hosting ​my website(s) on [[http://​aws.amazon.com/​ec2/​|Amazon EC2]] on a t2.small instance running [[Debian]] ​(which replaces a self hosted Red Hat server) ​Realistically the capacity ​of the t2.small instance ​is probably ​enough for the volume of traffic I receive on this site these days, but I thought that I would take advantage of the change to Debian and replace the web server software I'm using as well to try to optimize the instance.+I now host my website(s) on [[http://​aws.amazon.com/​ec2/​|Amazon EC2]] on a small instance running [[Debian]]. 
 +This capacity is enough for the volume of traffic I receive on this site these days when running 
 +[[https://​nginx.org|nginx]]
  
-For the past 15 or 16 years Apache HTTPD has served me pretty well going all the way back to some gnarly version of 1.3.  But since I've moved to EC2 and Apache 2.4 is not available in the wheezy-backports ​package set right now I'​ve ​decided to switch ​to Nginx 1.6.x.  There are some other advantages to this change, in particular the memory footprint ​is improved ​and I get some other nice benefits without too many losses since I'm not using any heavy duty Apache features these days.  In truth though, the main benefit is that I simply get to play with Nginx in real environment with no risk which is something I've been wanting to do for a long time now.+[[https://​httpd.apache.org/​|Apache HTTPD]] has served me pretty well going all the way back to some gnarly version of 1.3 
 +and it's a great server to build complex CGI apps with but don't need anything like that these days. 
 +Apache 2.4 was not available in wheezy-backports ​at that time I decided to make the switch. ​ There are 
 +some other advantages to this change, ​particularly ​in terms of memory footprint and general resource use on 
 +more limited capacity VM.
  
-I'm planning on documenting anything interesting that I learn here.+===== Pages =====
  
-===== Nginx topics ===== +<nspages nginx -h1 -textPages="">​
- +
-  * [[nginx:​pagespeed|Google PageSpeed implementation for Nginx on Debian Wheezy]]+
nginx.1425840922.txt.gz · Last modified: 2015-03-08 14:55 by gabriel