Skip to content

Instantly share code, notes, and snippets.

View lfalcao's full-sized avatar
:shipit:
Sleeping.

lfalcao

:shipit:
Sleeping.
View GitHub Profile
___ 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 (https://keybase.io/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
lfalcao / gist:d1e0ae9ac267605967ff
Created July 14, 2015 03:19
nginx caching thumbor webp/jpg
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;