Valentin V. Bartenev
November 25, 2014 08:22AM
On Monday 24 November 2014 17:49:12 Johan Martinez wrote:
> I installed nginx as a reverse proxy in front of apache server. No
> configuration change was made on apache and nginx is simply passing all
> requests to the backend apache. Now website is more responsive and it can
> handle 1.3 times more load than just apache in picture. I am wondering
> what's nginx magic that made website faster even though apache is still
> doing almost all the work. I am not systems expert so any pointers on why
> such setup is faster will be helpful. There isn't much configuration to
> nginx than:
>
> location / {
> proxy_set_header Host www.example.com;
> proxy_pass http://127.0.0.1:8080;
> proxy_redirect off;
> }
>
>
> Reason for such simple setup is to slowly migrate from apache to nginx.

Here's a comprehensive explanation:
http://www.aosabook.org/en/nginx.html

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

understanding nginx proxy magic

Johan Martinez November 24, 2014 08:50PM

Re: understanding nginx proxy magic

Francis Daly November 25, 2014 03:42AM

Re: understanding nginx proxy magic

Valentin V. Bartenev November 25, 2014 08:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 178
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready