Re: map directive using $default as origin

2016-08-09 Thread Dewangga Bachrul Alam
Hello steve! On 08/10/2016 10:47 AM, steve wrote: > Hi! > > On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: >> Hello! >> >> I am using module small_light >> (https://github.com/cubicdaiya/ngx_small_light), since the module can't >> detect which browser can process webp transformation, I crea

Re: map directive using $default as origin

2016-08-09 Thread steve
Hi! On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: Hello! I am using module small_light (https://github.com/cubicdaiya/ngx_small_light), since the module can't detect which browser can process webp transformation, I creating a simple directive on nginx to detect chrome and opera only and

map directive using $default as origin

2016-08-09 Thread Dewangga Bachrul Alam
Hello! I am using module small_light (https://github.com/cubicdaiya/ngx_small_light), since the module can't detect which browser can process webp transformation, I creating a simple directive on nginx to detect chrome and opera only and fallback the rest to jpeg/jpg. But, if the origin is not jp