Fix Nginx bandwidth issue in cPanel

At Hosting4Real we’ve been using Nginx in production as a reverse proxy for quite some time. But using Nginx doesn’t come without problems, one of them is bandwidth calculation. So this blog post will go over how to fix Nginx bandwidth issue in cPanel. You’ll actually be facing multiple problems, about bandwidth reporting, this is due … Continued

Nginx support for cpanel awstats

When using cpanel as a control panel for shared hosting, you’re by default forced to use Apache. The reason behind this is that it’s the most common webserver, but Apache is often using a lot of memory when you could lower this. A good choice is to put nginx in front. There’s multiple options for … Continued

Using nginx as a proxy to uWSGI applications

Using nginx as a proxy to uWSGI applications, have a lot of benefits. Nginx is built and optimized as a webserver, where the uWSGI is an application server. Nginx has the benefits of load balancing, request caching, it’s more secure, and it’s good for serving static files as well. I’m going to provide the code, … Continued