varnish 5 and multiple domains

2016-10-26 Thread Admin Beckspaced
dear varnish users ;) i'm new to varnish and got a question about how to best implement multiple domains into varnish 5 i got quite a few domains hosted on my linux server and would like to include some domains, exclude others and also switch between different vcl's based on the domain. i'

is there a default vlc for varnish 5

2016-10-28 Thread Admin Beckspaced
hello varnish users, I'm using varnish 5 and I'm actually quite new to varnish, so i apologize in advance, if I'm asking 'stupid' questions ;) I'm currently thinking about the following: sub vcl_hash { # If the client supports compression, keep that in a different cache if (req.http.Acce

Re: is there a default vlc for varnish 5

2016-10-28 Thread Admin Beckspaced
thanks for your fast reply. much appreciated ;) Am 28.10.2016 um 11:08 schrieb Guillaume Quintard: Run "varnishadm vcl.show -v boot", this will show you what files are used to build the vcl, and you'll notice "builtin.vcl". This is the code that gets executed when you don't return from your su

varnish 5 vmod for geoip country lookup

2016-10-28 Thread Admin Beckspaced
hello varnish users, is there a working, up-to-date, vmod for varnish 5 which gives me a country code based on the client ip address? so i could do things like described in the docs: https://www.varnish-cache.org/docs/trunk/users-guide/vcl-hashing.html In vcl_recv: set req.http.X-Country-Co

varnish overhead when only passing to backend without caching

2016-10-29 Thread Admin Beckspaced
hello again, my current setup is varnish 5 in front of apache web server with 30 different domains / websites in my vlc i can switch between sites and decide to do varnish caching or just passing to the backend with out caching. what's the overhead / delay with varnish when i just pass everyt

varnish5 - how to view what currently is in cache?

2016-10-29 Thread Admin Beckspaced
hello again varnish users, i have been looking in the varnish 5 documents. found useful things like: varnishadm varnishtop varnishhist varnishstat but how would i proceed if i want to know what actually is in the cache? e.g. view a cached version of an URL: http://mydomain.com/somepage or vie

Re: varnish5 - how to view what currently is in cache?

2016-10-31 Thread Admin Beckspaced
Am 31.10.2016 um 07:42 schrieb Andreas Plesner: On Sat, Oct 29, 2016 at 11:06:44AM +0200, Admin Beckspaced wrote: but how would i proceed if i want to know what actually is in the cache? e.g. view a cached version of an URL: http://mydomain.com/somepage Fetch it with a HTTP client. thanks

varnish 5 - do you need to normalize accept-encoding?

2016-11-05 Thread Admin Beckspaced
hello varnish users ;) in varnish 5 ... do I need to normalize the accept-encoding header? or is varnish 5 doing this by itself internally? i looked around in google but couldn't find any up-to-date info. so I thought why not ask the pro's here ;) thanks, greetings & all the best becki __

Re: varnish 5 - do you need to normalize accept-encoding?

2016-11-07 Thread Admin Beckspaced
in varnish 5 ... do I need to normalize the accept-encoding header? or is varnish 5 doing this by itself internally? No. Not since 3.0 thanks ;) ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailm

varnish time it takes for a request

2016-11-07 Thread Admin Beckspaced
hello again dear varnish community, if i look at the varnishlog I see lots of timing information, e.g. - Timestamp Start: 1478537654.083406 0.00 0.00 ... - Timestamp Req: 1478537654.083406 0.00 0.00 ... - Timestamp Process: 1478537654.083552 0.000146 0.000146

varnishncsa logs split per domain

2016-11-12 Thread Admin Beckspaced
hello there ;) since putting varnish version 5 in front of my apache backend the apache access logs don't fill up and webalizer has no data to process. I know that I can use varnishncsa to create logs in apache format. but since I'm using multiple domains I would need logs per domain. I see t

Re: varnishncsa logs split per domain

2016-11-12 Thread Admin Beckspaced
ay/ALD/The+splitlogs+Binary) which you can likely pipe to directly from varnishncsa granted the expected format is used. I haven't tried this personally, but now that you've mentioned it this would seem pretty useful. Hope this helps! On 11/12/2016 12:52 PM, Admin Beckspaced wrote: hel

Re: varnishncsa logs split per domain

2016-11-13 Thread Admin Beckspaced
Same Hello here ;) did have a more in depth look in the manual and figured out that varnishncsa does support VSL query. so someone could filter on the Request Header and Host varnishncsa -q "ReqHeader ~ '^Host: .*example.com'" which would produce a log for a specific domain only it then woul

Re: varnishncsa logs split per domain

2016-11-14 Thread Admin Beckspaced
e and graphs, webalizer, awstats, logaholic, etc - https://github.com/AndreiG6/vscp On Sun, Nov 13, 2016 at 12:18 PM, Admin Beckspaced mailto:ad...@beckspaced.com>> wrote: Same Hello here ;) did have a more in depth look in the manual and figured out that varnishncsa does

Re: varnishncsa logs split per domain

2016-11-15 Thread Admin Beckspaced
Am 15.11.2016 um 10:54 schrieb Dridi Boukelmoune: even in varnish VCL I can normalize the host not sure how to do this in varnishncsa? is there a way to do that? In VCL you can std.log the normalized host, and use a custom pattern in varnishncsa to pick it up. Dridi hello Dridi, thanks a

Re: varnishncsa logs split per domain

2016-11-15 Thread Admin Beckspaced
Am 15.11.2016 um 16:51 schrieb Dridi Boukelmoune: a bit more hints and info would be nice ;) man vmod_std man varnishncsa That's how much "nice" I'm willing to do :p Dridi ok. first I want to say thanks for being nice and pointing me to the man pages. after a bit of reading I finally fou

Re: varnishncsa logs split per domain

2016-11-15 Thread Admin Beckspaced
Isn't that what a mailing list is there for? To help others? Your thoughts please ;) Now that the finger is pointed at me, while I agree that I often point to the manual, I'm rarely saying to RTFM. I can be weeks between to peeks at the misc list for me, so sometimes I get extra lazy. I'm also

Re: varnishncsa logs split per domain

2016-12-02 Thread Admin Beckspaced
On 15.11.2016 17:57, Admin Beckspaced wrote: Am 15.11.2016 um 16:51 schrieb Dridi Boukelmoune: a bit more hints and info would be nice ;) man vmod_std man varnishncsa That's how much "nice" I'm willing to do :p Dridi ok. first I want to say thanks for being nice an

Varnishncsa log file size

2016-12-05 Thread Admin Beckspaced
Hello Varnish-Users, recently I have setup varnish logging via varnishncsa. If I look at the varnish log file size it's currently around 50 MB per day which gets rotate daily via logrotate. How big can the log file size grow without any performance issues? Is 100 MB still a valid log file size

opensuse 42.2 systemd varnishlog.service fails to start after system reboot

2017-08-09 Thread Admin Beckspaced
Hello Varnish Community, I'm running an openSUSE 42.2 server with varnish 5.1.2 My problem is that varnishlog.service always fails starting after a system reboot. cx40:~ # systemctl status varnishlog.service ● varnishlog.service - Varnish log generator Loaded: loaded (/etc/systemd/system/v

Re: opensuse 42.2 systemd varnishlog.service fails to start after system reboot

2017-08-09 Thread Admin Beckspaced
Hey Dridi, thanks a lot for your input. Highly appreciated ;) Will test out later and see if things work out ok. Greetings Becki On 09.08.2017 17:36, Dridi Boukelmoune wrote: On Wed, Aug 9, 2017 at 4:46 PM, Admin Beckspaced wrote: Hello Varnish Community, I'm running an openSUSE

Re: opensuse 42.2 systemd varnishlog.service fails to start after system reboot

2017-08-09 Thread Admin Beckspaced
On 09.08.2017 17:36, Dridi Boukelmoune wrote: On Wed, Aug 9, 2017 at 4:46 PM, Admin Beckspaced wrote: Hello Varnish Community, I'm running an openSUSE 42.2 server with varnish 5.1.2 Update to 5.1.3, your Varnish instance can be DoS'd remotely! For me it looks like that varnishl

varnishlog client IP problem via Apache SSL reverse proxy

2017-08-15 Thread Admin Beckspaced
Hello there ;) I'm running varnish in front of my apache on port 80 without any issues so far. Recently I decided to also use varnish for SSL connections To do so I first do a http to https redirect within varnish VCL if ( req.http.X-Forwarded-Proto !~ "(?i)https" ) { return (synth(750,

Re: varnishlog client IP problem via Apache SSL reverse proxy

2017-08-16 Thread Admin Beckspaced
Thanks a lot for your suggestion for using HaProxy ;) My thinking was just: why install another bit of software when apache is able to do the SSL termination. But like Andrei said, if traffic spikes hit the apache runaround will not be the optimal solution. Do you guys have any recent up-to-d

Re: varnishlog client IP problem via Apache SSL reverse proxy

2017-08-16 Thread Admin Beckspaced
we can do better next time, what didn't you like about the info you got about hitch? -- Guillaume Quintard On Aug 16, 2017 09:29, "Admin Beckspaced" <mailto:ad...@beckspaced.com>> wrote: Thanks a lot for your suggestion for using HaProxy ;) My thinking was just:

Re: varnishlog client IP problem via Apache SSL reverse proxy

2017-08-18 Thread Admin Beckspaced
ge differs) but the crux of it is really what I listed above. So we can do better next time, what didn't you like about the info you got about hitch? -- Guillaume Quintard On Aug 16, 2017 09:29, "Admin Beckspaced" <mailto:ad...@beckspaced.com>> wrote: Thanks a lot f

Hitch SSL handshake errors

2017-08-18 Thread Admin Beckspaced
Hello again ;) hitch is up and online on production server seeing some SSL handshake errors in the logs: Aug 18 12:32:47 cx40 hitch[19755]: 171.50.241.116:61452 :0 9:10 Handshake failure: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol Aug 18 12:32:53 cx40 hitch[19755]: 17

Hitch SSL chain issues with Google Chrome

2017-10-18 Thread Admin Beckspaced
Hello there, I use hitch as an SSL terminator in front of varnish. I get my SSL certificates via letsencrypt this is what i get via the letsencrypt ACME client cert-1504079018.csr cert-1504079018.pem cert.csr -> cert-1504079018.csr cert-1504079018.pem chain-1504079018.pem chain.pem -> chain-150

Re: Hitch SSL chain issues with Google Chrome

2017-10-18 Thread Admin Beckspaced
On 18.10.2017 12:54, Angelo Höngens wrote: Just do cert + chain + privkey, in that order. Thanks ;) re-merging the certs in that order solved the issue. Greetings Becki ___ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varni

Varnish 6.3, Hitch & HTTP/2

2020-02-05 Thread Admin Beckspaced
Dear varnish list, I'm running varnish 6.3 and hitch as a TLS proxy Does varnish 6.3 feature HTTP/2 support? I think multiplexed streams in HTTP2 is something I'm looking for ;) I see some documentation about 5.1 and progress on HTTP/2 support but nothing about HTTP/2 for version 6.3 https:/

Re: Varnish 6.3, Hitch & HTTP/2

2020-02-05 Thread Admin Beckspaced
ne, or using "varnishadm param.set feature +http2" if varnish is already running. Note that the varnishadm method won't survive a restart. -- Guillaume Quintard On Wed, Feb 5, 2020 at 12:03 AM Admin Beckspaced <mailto:ad...@beckspaced.com>> wrote: Dear varnish l

Re: Varnish 6.3, Hitch & HTTP/2

2020-02-06 Thread Admin Beckspaced
yes, I think you need to enable it on hitch too. -- Guillaume Quintard On Wed, Feb 5, 2020 at 9:03 AM Admin Beckspaced <mailto:ad...@beckspaced.com>> wrote: Hi Guillaume, Thanks for your reply ;) Is varnish http2 feature ready for a production server? Or is it still expe

Re: Varnish 6.3, Hitch & HTTP/2

2020-02-06 Thread Admin Beckspaced
Am 06.02.2020 um 12:11 schrieb Dridi Boukelmoune: On Thu, Feb 6, 2020 at 9:50 AM Admin Beckspaced wrote: Hello Guillaume, thanks again for your reply ok ... did enable hitch ALPN alpn-protos = "http/2, http/1.1" It's called h2 for ALPN, and with that I think you should

Re: When to use Varnish in front or behind NGinx

2024-09-11 Thread Admin Beckspaced
Am 11.09.2024 um 08:36 schrieb Dridi Boukelmoune: On Fri, Aug 30, 2024 at 1:59 PM Lee Daniel wrote: Hey Guys, So happy to find this mailing list. I am 2-3 weeks into using Varnish Cache for the first time. I am on a Plesk Webserver with multiple domains (Mainly Drupal sites) running Centos.