Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Vestacp work fine with varnish?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
kudouyuzi
Posts: 177
Joined: Mon Apr 28, 2014 11:19 am

Vestacp work fine with varnish?
  • Quote

Post by kudouyuzi » Thu Mar 30, 2017 8:26 am

Vestacp work fine with varnish?

https://varnish-cache.org/releases/index.html
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Vestacp work fine with varnish?
  • Quote

Post by skurudo » Thu Mar 30, 2017 8:33 am

In theory,
in practice we have not tested
Top

kudouyuzi
Posts: 177
Joined: Mon Apr 28, 2014 11:19 am

Re: Vestacp work fine with varnish?
  • Quote

Post by kudouyuzi » Thu Mar 30, 2017 8:34 am

skurudo wrote:In theory,
in practice we have not tested
Ok, ill try
Top

vibol
Posts: 10
Joined: Sat Apr 01, 2017 2:14 pm

Re: Vestacp work fine with varnish?
  • Quote

Post by vibol » Wed Apr 05, 2017 10:51 am

VestaCP 0.9.8.17 works perfectly with Varnish v4.1 .. i'm using it ..
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Vestacp work fine with varnish?
  • Quote

Post by skurudo » Wed Apr 05, 2017 11:30 am

vibol, may be you can tell us more about your experience with Varnish (settings, deploy, install)? I think it'll be very useful.
Top

vibol
Posts: 10
Joined: Sat Apr 01, 2017 2:14 pm

Re: Vestacp work fine with varnish?
  • Quote

Post by vibol » Thu Apr 06, 2017 6:43 am

skurudo, i'm using Varnish for my wordpress site..

# Centos 6.8 x64 + VestaCP 0.9.8.17
# Install Wordpress + Varnish Caching plugin by Razvan Stanga (you can get varnish config template with this)
# i use this guide http://www.servermom.org/varnish-cache-vesta-cp/

# i'm using Varnish v4.1

Code: Select all

rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm
Top

mephivio
Posts: 198
Joined: Thu Mar 27, 2014 7:35 am

Os: Debian 8x
Web: nginx + php-fpm
Re: Vestacp work fine with varnish?
  • Quote

Post by mephivio » Fri Nov 03, 2017 8:54 am

Hi
Have you test the new release 5 ?
Top

verus001
Posts: 22
Joined: Wed Nov 09, 2016 1:12 pm

Re: Vestacp work fine with varnish?
  • Quote

Post by verus001 » Tue Jul 02, 2019 9:01 pm

It works for me with http but how can I make it work with HTTPS?
thanks, Ph.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Vestacp work fine with varnish?
  • Quote

Post by skamasle » Wed Jul 03, 2019 7:02 pm

verus001 wrote: ↑
Tue Jul 02, 2019 9:01 pm
It works for me with http but how can I make it work with HTTPS?
thanks, Ph.
Varnish not support it as I know

If you what varnish and SSL in same server you need make it in this way:

httpd -> varnish -> nginx

Or
varnish-> nginx

Varnish listen in 80, nginx in 443 and apache in 8080

So varnish will get all request in 80 and send it to 8080, nginx will get request in 443 with ssl and send it to varnish, varnish ask again apache and then caching and return to nginx.

I never see varnish in 443 with SSL, but I just run inall server varnish 4 not know if varnish 5 have some fixes for this.

But if you what integrate it with vesta the easy way is nginx -> varnish -> apache

Integration is very easy, just modify some template values
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: Vestacp work fine with varnish?
  • Quote

Post by websystems » Thu Mar 04, 2021 4:55 pm

skamasle wrote: ↑
Wed Jul 03, 2019 7:02 pm
Integration is very easy, just modify some template values
Do you mind sharing some more details?
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password