Report this

What is the reason for this report?

nginx reverse proxy vs ngx_pagespeed - plz vote

Posted on January 21, 2014
FMCB

By FMCB

Hi everyone,

Day by day I find Ngixn is very interesting for many reasons, And I believe most of you know why!!

Today I ran into an article on how to setup ngx_pagespeed, a plugin that Nginx uses to speed up the page load time: https://www.digitalocean.com/community/articles/how-to-add-ngx_pagespeed-module-to-nginx-in-debian-wheezy

I also ran into nginx reverse proxy which seemed to me another interesting way of caching images, css and others:

https://www.digitalocean.com/community/articles/how-to-configure-nginx-as-a-front-end-proxy-for-apache

now I’m concerned about both, but not sure if any of you have used either one. please give me your feedback about this topic.

any comment is appreciated!!

Thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I personally have never used ngx_pagespeed but nginx is better than apache at serving static files—I’m sure <a href=“https://www.digitalocean.com/community/articles/how-to-configure-nginx-as-a-front-end-proxy-for-apache”>https://www.digitalocean.com/community/articles/how-to-configure-nginx-as-a-front-end-proxy-for-apache</a> will help.

Thanks @Kamal for your comment, <br> <br>I checked that tut some time ago, but I believe it is not complete because I run into php5-fpm issue not being working unless I add its code to the config file. if I did that, then apache is going to work with php-fpm, but not nginx. I guess there is something missing, but not sure what it is… <br> <br>any idea?

<blockquote>php5-fpm issue not being working unless I add its code to the config file.</blockquote>What do you mean?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.