Dewangga Bachrul Alam
Dewangga Bachrul Alam
@zhouchangxun nice, many thanks
@cubicdaiya divide them into different virtual servers? I still didn't get it.
@cubicdaiya there's some NDA on my configuration, can we talk using private communication (eg. email).
@cubicdaiya here is the configuration, i remove FQDN from external resource. ``` upstream awsdist { server ip.ad.dr.es:80; keepalive 128; } map $http_user_agent $img_mode { $default default; ~*chrome of=webp&q=70; ~*opera of=webp&q=70;...
@cubicdaiya my bad, the value on pattern_define should be `70`. I was test it using `$pattern_mode`, nothing was change. Don't know is it bug or miss configuration, any hints?
@cubicdaiya As your request, I remove parameter `q` on rewrite rules, here's the result and use `$img_mode` directive. Original Upstream: ``` accept-ranges:bytes age:4 cache-control:max-age=604800, public content-length:68563 content-type:image/jpeg date:Sun, 23 Oct...
@cubicdaiya Ok, I was set webp are not compressed by gzip. Upstream Images: 0_0_1000_666_ecf9dfd112be52fd0e81f4522f5d8abe60905508.jpg ``` accept-ranges:bytes age:3 cache-control:max-age=604800, public content-length:592651 content-type:image/jpeg date:Sun, 23 Oct 2016 13:08:53 GMT etag:"[removed]" last-modified:Thu, 10...
@cubicdaiya Done, convert it to test the size is lower than original images? ``` [root@phantom html]# ls -lah 0_0_1000_666_ecf9dfd112be52fd0e81f4522f5d8abe60905508.* -rw-r--r--. 1 root root 582K Dec 10 2015 0_0_1000_666_ecf9dfd112be52fd0e81f4522f5d8abe60905508.jpg -rw-r--r--. 1...
@cubicdaiya I can give you a sandbox and replicate my existing environment. So you can login and reproduce there. I thought the configuration above is same with existing environment, the...
@cubicdaiya it's okey bro :) I just give feedback to your hobby then. :+1: