Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
sobrenome Posted September 6, 2015 Posted September 6, 2015 Is anyone using Nginx as reverse caching proxy to Apache in IPS 4?The performance gains worth the maintance of Nginx?
ASTRAPI Posted September 6, 2015 Posted September 6, 2015 Nginx is super in any way that you plan to use it
sobrenome Posted September 7, 2015 Author Posted September 7, 2015 I only use that solution. Is there any special configuration to Nginx to also cache dynamic content from IPS 4 besides static content?
Lukeroge Posted September 7, 2015 Posted September 7, 2015 Just use Nginx directly. There's no need to involve Apache at all these days.
ASTRAPI Posted September 7, 2015 Posted September 7, 2015 @LukerogeTrue !!!!You can cache dynamin content using Zend opcache and Memcached....
sobrenome Posted September 7, 2015 Author Posted September 7, 2015 I am stuck in Cpanel, and they are going to upgrade the system to allow Nginx as reverse proxy. Otherwise I would go with Nginx only.
Rhett Posted September 7, 2015 Posted September 7, 2015 Just use Nginx directly. There's no need to involve Apache at all these days.Apache is slightly better at serving dynamic content, and using the reverse proxy setup, you can also retain all htaccess re-write rules for your server, many other software apps reply on this as well as IPS too. So while you could use nginx alone or even apache alone, both on the current versions work very well and are much improved, doing nginx as a reverse proxy for apache is the best of both worlds.
ASTRAPI Posted September 7, 2015 Posted September 7, 2015 Using .htaccess will slow down your forums:http://wiki.nginx.org/LikeApache-htaccess
Pross22 Posted September 7, 2015 Posted September 7, 2015 Haven't needed apache for about 3 years now..Forums and countless WordPress installs all use one simple bit of codelocation / { try_files $uri $uri/ /index.php; }
Lukeroge Posted September 8, 2015 Posted September 8, 2015 Apache is slightly better at serving dynamic contentIn what way is this true? Sure, apache has a built-in PHP interpreter, but php5-fpm is just as fast and can scale to far higher loads than mod_php can.
sobrenome Posted September 8, 2015 Author Posted September 8, 2015 Well, is there any special settings on Nginx as reverse caching proxy for best performance with IPS 4 or just the basic is ok?
RevengeFNF Posted September 8, 2015 Posted September 8, 2015 In what way is this true? Sure, apache has a built-in PHP interpreter, but php5-fpm is just as fast and can scale to far higher loads than mod_php can.You know you can also use php5-fpm with Apache right?People tend to compare Nginx + php-fpm vs Apache, when they should compare Nginx + php-fpm vs Apache + php-fpm.
Lukeroge Posted September 8, 2015 Posted September 8, 2015 You know you can also use php5-fpm with Apache right?People tend to compare Nginx + php-fpm vs Apache, when they should compare Nginx + php-fpm vs Apache + php-fpm.You can, I did it for a short while. But in that case, you might as well go the full way and use nginx.
RevengeFNF Posted September 8, 2015 Posted September 8, 2015 You can, I did it for a short while. But in that case, you might as well go the full way and use nginx. But you may want to use the mods that Apache have. For example i can use the mods of Nginx and Apache I use Nginx and Apache(mod_php) with htaccess disabled and my site is a bit faster than when i used nginx only solution.
Lukeroge Posted September 8, 2015 Posted September 8, 2015 Sure, I suppose mod_php can be a little lower-latency for smaller sites. But php5-fpm can scale to handle much higher loads!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.