Page 1 of 1

Varnish and ASL in cpanel server, need advice, please

Posted: Sun Oct 11, 2015 10:31 am
by copernic2006
Hello,
To reduce server load, I plan to install varnish on my server.
I guess there are changes to make for proper operation (including t-waf and detection of the client's real IP address)?
Any advice and hint will help me enormously.

Configuration
Os : cloudlinux 6.7 64 bits
Panel: cPanel 11.50.1
Apache 2.2
Asl: Atomic Secured Linux, version 4.0.16-32.el6.art: CloudLinux 6 (SUPPORTED)

Re: Varnish and ASL in cpanel server, need advice, please

Posted: Tue Oct 13, 2015 9:08 am
by scott

Re: Varnish and ASL in cpanel server, need advice, please

Posted: Wed Oct 21, 2015 2:41 pm
by copernic2006
Hello,
Finally, I opted for nginx + Varnish, I used the script unixy (https://unixy.net/advanced-hosting/varn ... nx-cpanel/)
The port are as follows:
Varnish: 8081
Nginx: 80
Apache: 8083

In ASL-GUI, waf configuration, I added two inputs (web service Local) and port 8081 for 80
Can you tell me please if the configuration is correct?

ps: I admit that I have no experience with Varnish and nginx, so any help is welcome.