Jump to content
Froxlor Forum
  • 0

Support Varnish Cache


dalu

Question

Posted

Hey all,

 

since this is a PHP mostly setup and management solution,

I currently have Froxlor running with Varnish (3) on front and have great results.

 

Varnish in a nutshell works like this, if a cookie isn't sent, fetch page from cache, otherwise pass on to apache/nginx.

 

I'm imagining a setup with nginx on the front

varnish inbetween

and php-fpm in the back

 

so

request -> nginx -> varnish -> php-fpm

 

Good thing about nginx is that you can configure upstream servers and if one doesn't respond let a failover handle the request

upstream mydomaindottld {
server 127.0.0.1:6000; // varnish
server 127.0.0.1:8080 backup; // php-fpm
// or server unix:/var/tmp/mydomaindottld.sock;
}

varnish can cache to disk or RAM

 

I have the above running on a non-froxlor custom server.

 

With my current (froxlor and varnish) setup I have to define every site as 127.0.0.1:8080 (or other port)

 

And my question or request or interested in doing is Varnish support in froxlor.

 

 

 

Next question is, Froxlor on CentOS 7, is CentOS 7 supported if so how well if not are there any plans?

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...