Question

nginx reverse proxy vs ngx_pagespeed - plz vote

Posted January 21, 2014 5k 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

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.

×
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?
Submit an Answer