MRatWork Forum by Mustafa Ramadhan - Ask = Configurasi Varnish Di kloxo-MR

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 19:39:33

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Ask = Configurasi Varnish Di kloxo-MR

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Ask = Configurasi Varnish Di kloxo-MR (Read 1986 times)

0 Members and 1 Guest are viewing this topic.

#### hilmi

- Junior Member
- Posts: 30
- Karma: +0/-0

##### Ask = Configurasi Varnish Di kloxo-MR

« on: 2013-09-06, 07:25:02 »
Saya mau mananyakan pakah instalasi ini sudah berjalan apa belum.
jika saya cek menggunakan
Code: [Select]

    varnishtop -i txurl

maka penampakanya adalah
Jika saya cek menggunakan
Code: [Select]

    varnishstat -1

pemanpakanya
namun kenapa di headernya tidak muncul x-varnish , namun muncul X-chace MISS
1. Yang saya lakukan adalah dengan mengubah port ke "10080" pada default.vcl
2. mengkopi '/home/apache/tpl/domains.conf.tpl' ke '/home/apache/tpl/custom.domains.conf.tpl'
3. mengkopi '/home/apache/tpl/defaults.conf.tpl' to '/home/apache/tpl/custom.defaults.conf.tpl'
4. menubah port dari custom.domains.conf.tpl dan custom.defaults.conf.tpl menjadi
Code: [Select]

    if ($reverseproxy) {
        $ports[] = '30080';
        $ports[] = '30443';
    } else {
        $ports[] = '10080';
        $ports[] = '443';
    }

5. sh /script/fixweb' dan 'service httpd restart
Apakah instalasi itu sudah benar? Mohon petunjuknya
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### prandah

- Senior Member
- Posts: 343
- Karma: +0/-0

##### Re: Ask = Configurasi Varnish Di kloxo-MR

« Reply #1 on: 2013-09-06, 21:40:44 »
udah jalan kok,,
kalo xcache coba di insta dulu xcache nya
kalo masih miss yah emang miss
saya jarang ngena kalo xcache, tapi kalo pakek apc sering banget hit nya
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

#### hilmi

- Junior Member
- Posts: 30
- Karma: +0/-0

##### Re: Ask = Configurasi Varnish Di kloxo-MR

« Reply #2 on: 2013-09-07, 06:15:46 »
Quote from: "prandah"

> udah jalan kok,,
> kalo xcache coba di insta dulu xcache nya
> kalo masih miss yah emang miss
> saya jarang ngena kalo xcache, tapi kalo pakek apc sering banget hit nya

Apakah xcache dan varnish bisa di jalankan barengan mas?
Saya lihat di tutorial biasanya varnish akan muncul di header "x-varnish" kira kira gimana ya cara memunculkanya
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged

#### prandah

- Senior Member
- Posts: 343
- Karma: +0/-0

##### Re: Ask = Configurasi Varnish Di kloxo-MR

« Reply #3 on: 2013-09-07, 10:21:47 »
tinggal edit ajah di default.vcl
ini script nya untuk nampilin xcachenya
Code: [Select]

    sub vcl_deliver {

      if (obj.hits > 0) {
        set resp.http.X-Cache = "HIT";
      } else {
        set resp.http.X-Cache = "MISS";
      }
    }

« Last Edit: 1970-01-01, 01:00:00 by Guest »
Logged
Main Main Kesini

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Ask = Configurasi Varnish Di kloxo-MR

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.047 seconds with 18 queries.

Mirror created by MasterkinG32.CoM