Save 37% off PRO during our Black Friday Sale! »

calamel-okara-beta

5a2b3cc2950f3ee86d535e561ffd72a5?s=47 Teppei Yano
February 18, 2015
11k

 calamel-okara-beta

5a2b3cc2950f3ee86d535e561ffd72a5?s=128

Teppei Yano

February 18, 2015
Tweet

Transcript

  1. ͱ͋ΔECαΠτʹಈతը૾ ม׵Λಋೖͨ͠࿩ 2015-02-18 ը૾ม׵ Night LT ! Teppei Yano @yano3

    ΍ͷ͞Μ
  2. Χϥϝϧ • http://calamel.jp • γϣοϐϯάϞʔϧαΠτ • ঎඼ͷιʔε͸༷ʑ • ΧϥʔϛʔγϣοϓʢΧʔτ ASPʣ

    • minne • ଞ...
  3. ໰୊఺ • ಈతͳը૾ม׵͸͍ͯ͠ͳ͍ • ఏڙݩʹΑͬͯը૾ͷ࢓༷͕͞·͟· • ετϨʔδ • ը૾ܗࣜ •

    αΠζ
  4. ը૾ URL ྫ http://img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?20141202175024

  5. ը૾ URL ྫ https://d1jw6zxxpn0xgs.cloudfront.net/ productimages/4039048/large/ 2bdb85341016e350fe9a9d0001a8752caa269c65.j pg

  6. ͦ͜Ͱ࡞Γ·ͨ͠

  7. ͓͔ΒʢԾʣ • ಈతը૾ม׵αʔό • ngx_small_light • ngx_mruby • CDN (CloudFront)

    • ໊લͷ༝དྷ͸ʢ͈́
  8. URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120

  9. URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120

  10. URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120

  11. URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120

  12. URL ྫʢ͓͔Βʣ http://d39txhluoaeylq.cloudfront.net/calamel/item/ 178x178fffffff/ a93dd6c33564965c84813800b786997ae49384b2. jpg/img05.shop-pro.jp/PA01018/434/product/ 84264501.jpg?2014120

  13. ngx_small_light ʢ͈́

  14. ngx_mruby ʢ͈́

  15. ngx_mruby ϋογϡͷ֬ೝ

  16. ngx_mruby ϋογϡͷ֬ೝ mruby_set $allowed '/path/to/check_hash.rb'; if ($allowed != true) {

    return 403; }
  17. ngx_mruby URL ม׵

  18. ngx_mruby URL ม׵ mruby_set $smalllight_path /path/to/okara_to_smalllight.rb; proxy_pass ʢ͈́

  19. ࠓޙ • WebP

  20. ·ͱΊ ngx_small_light ͱ ngx_mruby ͰʢΘ Γͱʣ؆୯ʹಈతը૾ม׵αʔόΛ࡞ Δ͜ͱ͕Ͱ͖ͯศརʂʂ