Varnish is a high-performance reverse proxy and load-balancer package for Linux/Unix systems.

learn more… | top users | synonyms

0
votes
0answers
21 views

Implement HTTPS in with pfSense, Varnish and Tomcat

Situation I have an ESXi Server hosting multiple VMs, including one for each pfSense, Varnish and Tomcat. They are configured like the following: pfSenseVM (Firewall, IP=10.0.0.1) NAT Rules from ...
0
votes
0answers
17 views

Varnish 4 service won't start because of selinux

I've installed varnish 4 on my new centos 6.5 box. I've activated EPEL repo to install varnish from http://repo.varnish-cache.org/redhat/varnish-4.0/ After installing and configuring my default.vcl I ...
0
votes
1answer
21 views

How can I setup varnish for testing purposes?

The Varnish docs state that Varnish is configured by default on port 6081, which is "great for testing purposes." https://www.varnish-cache.org/docs/trunk/tutorial/putting_varnish_on_port_80.html I ...
-1
votes
0answers
16 views

Varnish redirecting to https issue

I installed varnish on my server and configured it on port 80 , but my all websites on this server redirecting to https forcely , what is the problem
0
votes
0answers
14 views

Varnish does not work on other port

I installed varnish on port 82 , but it's not working , the browser show me "The connection has timed out" but i can telnet my server with 82 port , varnish listened on 82 and apache listened on 82 , ...
0
votes
1answer
23 views

Varnish Does not work

I installed varnish as well on my server , but the performance did not change , The http://www.webpagetest.org/ says caching system does not enable on your server , i'm using default configuration of ...
0
votes
1answer
40 views

Varnish : no different performance

I installed varnish on my centos server, but i did not get any more performance, my website loaded in 7 sec before installation it , and after installation it's still 7 sec, what is the problem? ...
0
votes
1answer
43 views

Varnish : cpanel default page issue [on hold]

I installed varnish on my centos , with whm , but after configuration in , i'm getting default page of cpanel,what is the problem? It's my default.vcl backend default { .host = "external ip"; ...
1
vote
2answers
59 views

nginx + varnish, optimize caching urls for ssl and not

I have a working varnish cache for my websites, with the undesired side effect that requests for a domain with http are cached with a certain url, and requests for https with another url. That way I ...
-1
votes
0answers
40 views

Magento not serving Varnish Cache

I've installed Varnish on Ubuntu 12.04 x64 and want to use it with my Magento shop. Information: Magento 1.9.0.1 Varnish Cache 3.0.5 Magento Turpentine 0.6.0 When I visit ...
0
votes
1answer
18 views

Varnish error: /etc/init.d/varnish: 50: /etc/default/varnish: -p: not found

I've installed Varnish on Ubuntu 12.04 x64 and want to use it with my Magento shop. Information: Magento 1.9.0.1 Varnish Cache 3.0.5 Magento Turpentine 0.6.0 I've followed the installation ...
0
votes
1answer
24 views

Mass 301 redirects with Varnish

I'm working on migrating a site to another platform. We have a Python script to handle the import and we're considering using Varnish for speed. I want to make sure all existing URLs remain functional ...
-1
votes
0answers
25 views

Varnish installing on VPS

I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I wanted to install vanish, and followed this guide. $ rpm --nosignature -i ...
1
vote
0answers
52 views

How to optimize Varnish on top of Odoo?

I'd like to optimize an Odoo-installation with Varnish 4. Odoo uses Python / Werkzeug to deliver HTML. Odoo 8.0rc1 and Varnish 4.0.1-2~trusty on Ubuntu 14.04. Both Odoo/Varnish are installed on the ...
0
votes
0answers
97 views

Why is Varnish 4 getting slow after some time?

We've migrated Varnish from Version 3 to Version 4.0.1 (via Debian packages). Nearly the same configuration and memory setup runs flawlessly on varnish 3. However, with Varnish 4 there are large ...
-2
votes
2answers
35 views

Will Varnish recreate cache?

I want to cache pages on my nginx site for fast retrieval. Let's say every 5 hours I want to expire all the cache and have it recreated. Will Varnish make calls to the web-server and recreate cache on ...
1
vote
1answer
38 views

Elastic Load Balancer and Varnish on Each Node

We want to install Varnish on our nodes that are handled by an Auto-Scaling Group and ELB. These servers currently grow and contract based on load from 2-10 nodes. We do not want to have another ...
1
vote
1answer
75 views

Varnish Cache: Rewrite ESI include url if session is active

I'm looking to rewrite an ESI include url in Varnish. In my template, I have: <esi:include src="/esi/user.html" /> which just includes static content i.e. "Welcome Guest". If they login I ...
2
votes
1answer
40 views

NginX/Varnish and Auto Caching

Let's say we have a wordpress site example.com On our site, there are multiple products. Urls look like this: example.com/products/product-1/ example.com/products/product-2/ ...
1
vote
2answers
32 views

Varnish Disrupting Logins with Invision Power Board

I recently transferred one of my primary sites over to a WordPress installation, but unfortunately, this resulted in extremely high server loads. Originally, I was running a basic LAMP server with ...
0
votes
0answers
17 views

How to set varnish cache purge time

I want to set the varnish cache purge time to 1 hour. I was not able to find in .vcl files. Is it set via some system variables or needs to set somewhere else.
-1
votes
1answer
36 views

phpMyAdmin not working with Apache/Varnish

I'm trying to install phpMyAdmin on a dedicated machine with Apache 2 and Varnish (in front). But when I try to access /phpmyadmin, it redirects me to myserverip:8080 so access fails. I've already ...
0
votes
0answers
23 views

varnish4.0.1 storage not effect

l have a problem in varnish4.0.1.I choose file storage. my storage is not full, but varnishstat display that SMF.s0.g_bytes is full, and my n_object reached at a limit nums, why is that? here is the ...
0
votes
1answer
16 views

varnish and apache on separate servers

I would like to know if it is possible to install and configure apache on one server and varnish on another server so that we can alleviate the load on the apache server. If it is possible can someone ...
3
votes
4answers
522 views

Varnish on 80, nginx on 8080, on which port to put jenkins?

On my staging server, I have Varnish + Nginx. They are on port 80 and 8080. Given that I have to install jenkins, on which port I have to bind it ? (which is usually 8080 but it's already taken)
0
votes
2answers
213 views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
0
votes
1answer
40 views

Purge varnish(4) cache

How purge all cached pages on a v4 varnish server ? I found this in documentation but how apply the vcl_recv command ?
1
vote
1answer
60 views

Varnish how to clear cached data for removed apache virtualhost?

I have Varnish setup for a server that serves multiple webservices. Now I wanted to remove one of these webservices, so I removed the files for this webservice from the server, removed the Apache ...
0
votes
0answers
21 views

Missing objects in 50x error page in varnish

I use this code to costum 503 error page in Varnish. if ( obj.status >= 500 && obj.status <= 505) { set obj.http.Content-Type = "text/html; charset=utf-8"; synthetic ...
0
votes
0answers
40 views

Varnish “it works” page on all domains

I installed Varnish on my virtual server(Debian 7.0 x64) Digital Ocean and I followed their tutorial here. The problem is that on all my domains and subdomains, I get the it works message. I tried ...
0
votes
0answers
24 views

How to do a redirect in Varnish 4.0

The method at wiki used to work but it's outdated now for Varnish 4.0 I wonder how would i do a redirect in varnish 4.0 now that obj is readonly.
0
votes
1answer
279 views

Varnish won't start as service but works fine from command line?

We're trying to setup a varnish on a Cent OS 6.5 64 but can't get it working as a service. What could be the reason for the following error? [root@server]# service varnish start Starting Varnish ...
0
votes
1answer
48 views

varnish wordpress comments

On my server I have installed Varnish in front of nginx, to serve static files faster. When using my site I have found following bug: Every comment on my wordpress blog is coming from localhost ...
0
votes
0answers
21 views

Get a specific answer as a result from helthcheck varnish

I want to make a condition. The backend is healthy only if i get as a result "alive", else even it get a result, it would be not healthy. backend test { .host = "192.168.1.100"; ...
0
votes
0answers
14 views

SoftPurge doesn't work correctly in varnish

I am trying to use Softpurge mentioned here: http://www.smashingmagazine.com/2014/04/23/cache-invalidation-strategies-with-varnish-cache/ I run in terminal the following command: curl -X PURGE ...
2
votes
1answer
32 views

Varnish config to fallback to another port

I am playing around the different config setups. Currently I have Varnish-cache in port 80, Apache2 in port 70 and Nginx in port 90 in the same machine. The Varnish is configured in such way that it ...
0
votes
1answer
40 views

“service varnish stop” doesn't actually stop Varnish

I'm running Amazon Linux. I originally installed Varnish 3 on this box, but have now installed Varnish 4. sudo varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl ...works just fine to start ...
1
vote
0answers
32 views

Varnish: How to cache for failure, always ask backend if healthy?

I want to configure varnish (still on version 3) in the following way: If the backend is available, every request should go to the backend, so no cached results should be used. If the backend is ...
0
votes
0answers
21 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
0
votes
1answer
207 views

Real IP addresses from Varnish + Cloudflare

I'm trying to edit the default.vcl file to get the real client IP addresses to show up in my Wordpress. I found this online and I read a lot of pages on this but have failed to make this work. I'm ...
0
votes
0answers
32 views

Odd behaviour with varnishlog and stream redirecting

I wrote a helper to debug varnish installation and have used it on both production and development server. The odd thing is, I encountered different behaviour even though the setup is nearly identical ...
0
votes
1answer
134 views

Random 502 errors with Varnish

I have a varnish 4 in front of an Apache web server. All is good, except i have some random 502 errors. What is strange is that there is nothing in the varnishlog file for this error ! (all others ...
1
vote
0answers
37 views

Cant access varnish without www

Yesterday i installed varnish and memcached on my CentOS 6 32-bit VPS server for my magento store, when i go to www.my-website.com or http://my-website.com it works, but when i type in firefox ...
0
votes
1answer
704 views

Getting “The page you are looking for is temporarily unavailable. Please try again later”

I have a vps running Ubuntu+LEMP+Varnish. Everything was fine untill I updated the server software. Now I am getting "The page you are looking for is temporarily unavailable. Please try again later" ...
0
votes
1answer
85 views

round-robin director ALWAYS directs request to the same backend

I've set up one server with Varnish as a load balancer and two servers running nginx/unicorn/sinatra for demo purpose. All three servers are accessible! My varnish vcl file: backend web2 { .host = ...
0
votes
0answers
25 views

Varnish Backend Back To Live After “Service Scan” by Domain Dossier

My Varnish Cache works fine except there is annoying issue that every few hours, the backend probe will report sick for 3 of my 4 backends. So site can't open, report 503 obviously. The strange thing ...
0
votes
1answer
136 views

Varnish installer cannot find PCRE when it is already installed

I am trying to install Varnish-Cache 4 on my Mac OS X 10.9.3. But I get this error: checking for PCRE... no configure: error: Package requirements (libpcre) were not met: No package 'libpcre' found ...
0
votes
0answers
230 views

apache + varnish + cloudflare Log IP's

trying to log the real ip of the visitors to a site, with a server running apache, varnish and cloudflare. im currently logging the cloudflare server IP's from visitors, after altering the ...
0
votes
0answers
53 views

Varnish stopped working after changing ip address of backend

A month ago I installed Varnish and Drupal on separate machines and could see that varnish was serving pages. A few days back I changed the ip address of the backend in my default.vcl to point to ...
0
votes
1answer
85 views

DreamPress WordPress site Varnish Cache Error

Every now and then, often when I write a post on my Dreamhost DreamPress WordPress blog I get this Varnish related error: Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: ...