Konfigurasi Nginx dengan Varnish

Discussion in 'VPS (Virtual Private Server)' started by FikryAns, 13 Feb 2015.

Thread Status:
Not open for further replies.
  1. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
  2. vishualhost

    vishualhost Expert 2.0

    Messages:
    813
    Likes Received:
    80
    Trophy Points:
    28
    coba dicek antara port nginx nya hidup nda pak
    bisa juga cek dengan domain misal make varnish dan nginx buka di browser www.domain.com:8081 misal itu port nginx nya atau 6081 misal ini port varnishnya ( ganti port nginx serta varnish ) klo web kebuka sempurna mungkin hanya miss config aja, namun klo salah satu port ga kebuka kemungkinan problemnya dr sisi nginxnya
     
  3. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
    udah solved pak...virtualhost lupa di up :D
     
  4. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
    kenapa ya virtual host nginx ge work??
    domain udah dipoin ..tapi kedua domain tsb mengakses directory yang sama??
     
  5. WidigdoNetwork

    WidigdoNetwork Apprentice 1.0

    Messages:
    351
    Likes Received:
    64
    Trophy Points:
    28
    server directivenya dibuat 2 ( jangan disatuin )..

    contoh:

    Code:
    # Domain A
    server {
        listen       80;
        server_name domain-a.com;
    
        location / {
    root  DIRECTORY_DOMAIN_A;
    index  index.html index.php;
    }
    }
    Code:
    # Domain B
    server {
        listen       80;
        server_name domain-b.com;
    
        location / {
    root  DIRECTORY_DOMAIN_B;
    index  index.html index.php;
    }
    }
    habis itu
    Code:
    service nginx restart
     
  6. pangeran1995

    pangeran1995 Hosting Guru

    Messages:
    1,352
    Likes Received:
    105
    Trophy Points:
    63
    masalah varnish dan nginx saya kurang paham. soalnya ga pake varnish

    tapi untuk litespeed berbayar Tuan :D
     
  7. id.niagahoster

    id.niagahoster Poster 1.0

    Messages:
    52
    Likes Received:
    8
    Trophy Points:
    8
    Untuk single user atau VPS, tweak varnish dan nginx memang sangat bagus karena cache bisa mempercepat loading website dan seperti yang telah diketahui bahwa nginx sangat bagus dalam menghandle halaman statis dan saya kira hasil tweak varnish dan nginx tidak akan kalah dengan litespeed :)
     
  8. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
    ternyata...varnish juga perlu di arahkan ke masing2 domain pak.. :D
    solved
     
  9. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
    tapi kenapa pendapat orang ini berbeda ya?? :7:
    http://www.narga.net/varnish-nginx-comparison-nginx-alone-better/
     
  10. FikryAns

    FikryAns Poster 2.0

    Messages:
    158
    Likes Received:
    8
    Trophy Points:
    18
    lisensinya gimana itu??
    sekali bayar apa pke jangka waktu?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...