Questions tagged [varnish]

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

Varnish is primarily a caching reverse proxy, but also exhibits load-balancing and backend checking mechanisms and is very widely used on high traffic websites.

Varnish was designed from the ground to be a high performance reverse caching proxy and to not compete with the operating system on managing resources like memory. Most recent versions of Varnish support storing cache on memory or disk, and serving old content in case of backend fail (saint mode), among other features.

Varnish is written by Poul-Henning Kamp (PHK), and his Architect Notes are available about varnish design. PHK is also a well known FreeBSD kernel developer and mantainer.

937 questions
0
votes
1 answer

How to use nginx as reverse proxy send all requests to varnish

I have a centos 8 and varnish is on port 80 connecting with apache on port 8080 bellow is my nginx config. user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules. See…
Jack Duldi
  • 19
  • 9
0
votes
1 answer

Getting http traffic to redirect to https

I'm trying to figure out how to redirect http traffic to https. I running apache2 with varnish. Someone more knowledgeable than me has set this up for me on other websites. I've set up a new site to mimic the apache config for one of the known good…
StevieD
  • 514
  • 8
  • 24
-1
votes
1 answer

Getting error while installing Varnish Cache

I am using Ubuntu 16.04 LTS on AWS EC2. While installing varnish cache server I am getting following error. Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: varnish-doc The following NEW…
-1
votes
1 answer

Varnish has broken php sessions

I have a big project and we decided to inject varnish cache. After many edits we inject it to live server. Everything were OK, but after about 8 hours users became to complain that they login under their email pass and get into another user! We…
-1
votes
1 answer

What's the best way to cache a website on nginx server with SSL?

I have a wordpress blog which runs using nginx (SSL) + PHP-FPM + MySQL. I wondered what was the best way to cache this kind of site. I heard that Pound and Varnish do that well, but I haven't found any good documentation about how to set that…
Mehdi
  • 103
  • 5
-1
votes
1 answer

Varnish 3.0.7 suddenly stopped working

Changed one line in default.vcl and after that I couldn't restart. It didn't give me any error or anything. I tried to set it back to the former config but that didn't help. So I decided to reboot. Start all over. didnt help. And now after several…
Philip
  • 375
  • 1
  • 4
  • 8
-1
votes
1 answer

apache processes taking 100% of CPU

I have a 4 GB virtual server that I'm hosting a rugby website and since it's a rugby world cup season my site is receiving a good amount of traffic , not too much that it exceeds my server limit because the amount of memory used never been more 1.8…
Taha
  • 3
  • 1
  • 3
-1
votes
2 answers

Varnish/Traffic-Server https caching support

I know that Varnish does not cache's https connections. Does apache traffic server caches https? If no, is there a way to configure apache + Varnish + wordpress to cache https?
doesnt_matter
  • 65
  • 2
  • 6
-1
votes
2 answers

Where will load fall using Nginx, Varnish, and HAProxy?

We are looking into scaling our servers and I am not sure where load will fall as visitor count increases. I have one HAProzy load balancer, that proxies to two Varnish Nginx static content servers. As our load increases, which server(s) will take…
Nilnoc
  • 3
  • 2
-1
votes
1 answer

What kind of scaling method is it, when you add new software to a single server to handle more users?

I have read about scaling (in terms of terminology and methods). This got me confused about the following: On a single computer, running a web server (say apache), if the system administrator adds a front, caching, reverse-proxy such as Varnish,…
Phil
  • 523
  • 1
  • 4
  • 9
-1
votes
1 answer

How to Enable geoip on magento with varnish page cache

I currently have 3 stores online with 3 different domains, running magento with Apache and varnish (using Phoenix page cache extension) running on centos One store is for uk, another for Ireland and another for USA Trouble is (Example) If an US…
molleman
  • 111
  • 4
-1
votes
2 answers

How do I block visitors by varnish on centos, using nginx as backend?

I want to block visitors from some country, by country code, not by maintain a lot of ip ranges. I can do it using only nginx, but i've just configured varnish to frontend, and I have not found any solutions yet. I'm using centos 6.4 x64. Thanks for…
-1
votes
1 answer

Varnish memory management

I have a rather 'dumb' question regarding Varnish. I've been reading info on Varnish cache storage types and yet don't understand what would happen in following: Imagine we have 2GB of free memory. Varnish (with file storage) takes up 1,5GB Then a…
-1
votes
1 answer

How does Varnish handle expiration

I've been using shared hosting up until recently before switching to a normal VPS for learning. Currently my server only run wordpress and forum on top nginx + mysql and nothing else. I've read somewhere that using Varnish will speed up my site…
user157349
-1
votes
1 answer

Can I use Varnish to front 2 different services from different servers on 1 domain?

I've been futzing around with getting this set up however I don't know if Varnish supports what I am trying to do: I have a server (ec2) thats running Nginx/Magento for ecommerce (www.domain/) On the same server, in a subdirectory of Magento, I…
Matthew
  • 13
  • 1
1 2 3
62
63