buru 0.6.8

A Rust application with both CLI and Web interface for data/image processing
Documentation
proxy_cache_path /var/cache/nginx keys_zone=zone1:1m max_size=1g inactive=24h;
proxy_temp_path  /var/cache/nginx_tmp;

server {
    listen 80;

    client_max_body_size 100m;

    location /files/original/ {
        root /usr/share/nginx/html;
        autoindex off;
    }

    location /files/ {
        proxy_pass http://imagor:8000/unsafe/fit-in/;

        proxy_cache zone1;
        proxy_set_header Host $host;
        proxy_cache_valid 200 302 30d;
        add_header X-Nginx-Cache $upstream_cache_status;
        add_header Cache-Control "public, max-age=31536000, immutable";
    }
}