Skip to content

Instantly share code, notes, and snippets.



Block or report user

Report or block lfalcao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:0d968c6e4eb605baee900e849af3c50d
___ Begin jemalloc statistics ___
Version: 3.6.0-11
Assertions disabled
Run-time option settings:
opt.abort: false
opt.lg_chunk: 22
opt.dss: "secondary"
opt.narenas: 8
opt.lg_dirty_mult: 3
opt.stats_print: true

Keybase proof

I hereby claim:

  • I am lfalcao on github.
  • I am lfalcao ( on keybase.
  • I have a public key whose fingerprint is 900B DD6A 695F 8D98 E232 6027 EB24 1FE9 3259 AA04

To claim this, I am signing this object:

lfalcao / gist:d1e0ae9ac267605967ff
Created Jul 14, 2015
nginx caching thumbor webp/jpg
View gist:d1e0ae9ac267605967ff
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=my_zone:10m inactive=60m;
proxy_cache_key "$host$request_uri-$format";
server {
listen 999;
server_name _;
set $format jpg;
if ( $http_accept ~* 'webp' ) {
set $format webp;
You can’t perform that action at this time.