cPanel plugin ApacheBooster is used to reduce the server loads and memory usages and it has been providing maximum performance for your domains. Its intergared with nginx and varnish which is used for high performance.
Varnish Cache is a web accelerator, sometimes referred to as a HTTP accelerator or a reverse HTTP proxy, that will significantly enhance your web performance.
Varnish speeds up a website by storing a copy of the page served by the web server the first time a user visits that page. The next time a user requests the same page, Varnish will serve the copy instead of requesting the page from the web server.
NGINX accelerates content and application delivery, improves security, facilitates availability and scalability for the busiest web sites on the Internet.
If you are looking nginx as apache proxy then you can use nginx autoinstaller cPanel plugin which is used to serve static content like jpg,png, etc., Most of server administrator used for image websites.
ApacheBooster V2.0 Stable version contain extra features and fixed some major security vulnerabilities.
wget http://prajith.in/downloads/apachebooster.tar.gz tar -zxf apachebooster.tar.gz cd apachebooster bash install.sh or sh install.sh
mod_remoteip, the apache extendedstatus always gives you the proxy IP, instead of client IP. In order to overcome this issue, you to use mod_reveseproxy apache module, the modules is completely based on mod_cloudflare and mod_remoteip.
To install,
wget https://raw.github.com/Prajithp/mod_reverseproxy/master/mod_reverseproxy.c apxs -i -c -n mod_reverseproxy.so mod_reverseproxy.c
open your httpd.conf and add this settings.
LoadModule reverseproxy_module modules/mod_reverseproxy.so <IfModule reverseproxy_module> ReverseProxyEnable On #The header to use for the real IP address. ReverseProxyRemoteIPHeader X-Real-IP #What IPs to adjust requests for ReverseProxyRemoteIPTrusted 127.0.0.1 ReverseProxyRemoteIPTrusted 184.82.165.4 </IfModule>