sobrenome Posted September 6, 2015 Share 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? Link to comment Share on other sites More sharing options...
RevengeFNF Posted September 6, 2015 Share Posted September 6, 2015 I only use that solution. Link to comment Share on other sites More sharing options...
ASTRAPI Posted September 6, 2015 Share Posted September 6, 2015 Nginx is super in any way that you plan to use it Link to comment Share on other sites More sharing options...
sobrenome Posted September 7, 2015 Author Share 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? Link to comment Share on other sites More sharing options...
Lukeroge Posted September 7, 2015 Share Posted September 7, 2015 Just use Nginx directly. There's no need to involve Apache at all these days. Link to comment Share on other sites More sharing options...
ASTRAPI Posted September 7, 2015 Share Posted September 7, 2015 @LukerogeTrue !!!!You can cache dynamin content using Zend opcache and Memcached.... Link to comment Share on other sites More sharing options...
sobrenome Posted September 7, 2015 Author Share 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. Link to comment Share on other sites More sharing options...
Rhett Posted September 7, 2015 Share 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. Link to comment Share on other sites More sharing options...
ASTRAPI Posted September 7, 2015 Share Posted September 7, 2015 Using .htaccess will slow down your forums:http://wiki.nginx.org/LikeApache-htaccess Link to comment Share on other sites More sharing options...
Pross22 Posted September 7, 2015 Share 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; } Link to comment Share on other sites More sharing options...
Lukeroge Posted September 8, 2015 Share 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. Link to comment Share on other sites More sharing options...
sobrenome Posted September 8, 2015 Author Share 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? Link to comment Share on other sites More sharing options...
RevengeFNF Posted September 8, 2015 Share 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. Link to comment Share on other sites More sharing options...
Lukeroge Posted September 8, 2015 Share 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. Link to comment Share on other sites More sharing options...
RevengeFNF Posted September 8, 2015 Share 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. Link to comment Share on other sites More sharing options...
Lukeroge Posted September 8, 2015 Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.