Thursday, March 17, 2016

File-level mapping introduced in H2O version 2.0

As the developer of H2O, the lack of ability to define a mapping for a specific path (not a directory) has been one of the complaints I hear the most. Finally, we have a fix for the issue, and that is why the next release will be given the number 2.0.

Starting from H2O version 2.0.0beta-1, it is possible to write a configuration like the following. The example maps all requests to a FastCGI server, with the exception of /robots.txt and /favicon.ico being served statically.
paths:
  /:
    fastcgi.connect:
      port: /tmp/fcgi.sock
      type: unix
  /robots.txt:
    file.file: /path/to/robots.txt
  /favicon.ico:
    file.file: /path/to/favicon.png
Pretty straight forward, isn't it?

For details, please refer to the updated documentation of paths directive, or refer to the discussion in the pull request.

18 comments:

  1. keren artikelnya gan
    kunjungi juga ya gan dengan web kebanggan kami poker online indonesia http://www.betdanwin.com/
    bonus 20% deposit dan ada komisi referral 50% untuk member yang mengajak teman-temannya mohon partisipasinya siapa tau membutuhkannya makasihh gan :)

    ReplyDelete
  2. TERBARU PROMO BONUS DEPOSIT 100% HANYA DI BETDANWIN POKER ONLINE INDONESIA TERPECAYA
    KURANG BERUNTUNG DI POKER YANG ANDA MAIKAN SEKARANG??
    SUDAH SAAT NYA ANDA BERMAIN DI POKER WWW.BETDANWIN.COM DAPATKAN JACKPOT SAMPAI RATUSAN JUTA RUPIAH.
    Minimal Deposit 10.000 Withdraw 20.000.
    WWW.BETDANWIN.COM
    JADILAH MEMBER AKTIF REFERRAL 50% SEUMUR HIDUP
    KUNJUNGI DAN LIKE FANPAGE KAMI https://www.facebook.com/BetdanWin-1071580636209445/?ref=ts&fref=ts

    ReplyDelete
  3. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work.
    contact form | snapchat emoji

    ReplyDelete
  4. Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning. free xbox live codes
    Thanks for sharing this post with us.

    ReplyDelete
  5. The share your really gives us excitement. Thanks for your sharing. If you feel tired at work or study try to participate in our games to bring the most exciting feeling. Thank you!
    hotmail sign in | red ball 1

    ReplyDelete
  6. This is one of the cult game now, a lot of people enjoy playing them . Also you can refer to the game :
    animal jam 2 | five nights at freddys 2 | hotmail login

    ReplyDelete
  7. Thanks for your information you shared. It's really helpful.
    * Street view

    ReplyDelete
  8. TRIBUNQQ AGEN POKER ONLINE TERBESAR & TERPECAYA 2017 | MEMBER vs MEMBER 100% NO ROBOT. PROSES CEPAT & MUDAH. CUSTOMER SERVICE 24JAM ONLINE. PROMO BANYAK.

    Bonus CashBack Sebesar 0,5% setiap senin
    Bonus Referral sebesar 20% berlaku seumur hidup

    Permainan yang kami sediakan saat ini : Poker, Domino99, Bandar Poker, BandarQ, Bandar Sakong (Segera Hadir)

    Supported 5 Bank Lokal
    Minimal Depo & WD : Rp 15.000,-

    Yuk segera bergabung bersama kami dan menangkan hadiah hingga RATUSAN JUTA RUPIAH !!
    Mau langsung daftar ? Kunjungi Website resmi kami hanya di tribunqq.com
    http://bit.ly/2fn69Wr

    ReplyDelete
  9. Thank you for sharing the helpful mapping. I used it a lot.
    instagram viewer

    ReplyDelete
  10. These days its utilization isn't just restricted to the standard store and withdrawal purposes yet in addition for payrolls, business advances and even bill installments. So what's a check getting the money for framework? Fundamentally, it is a sort of exchange in which clients can approach the administrations offered by the bank as a check issued and approved by the bank itself.
    Check Cashing

    ReplyDelete

Note: Only a member of this blog may post a comment.