nginx reverse proxy vs ngx_pagespeed - plz vote

January 21, 2014 4.9k views
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
3 Answers
I personally have never used ngx_pagespeed but nginx is better than apache at serving static files—I'm sure https://www.digitalocean.com/community/articles/how-to-configure-nginx-as-a-front-end-proxy-for-apache will help.
Thanks @Kamal for your comment,

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....

any idea?
php5-fpm issue not being working unless I add its code to the config file.
What do you mean?
Have another answer? Share your knowledge.

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