Skip to content

afalone/pictie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pictie

NGINX upstream

upstream pictie { server 0.0.0.0:3000; } #dev upstream pictie { server unix:https://...thin.sock; } #prod

NGINX location

    location ~ /api/v1/picture/size/(\d+)-(\d+) {
      set $width $1;
      set $height $2;
      proxy_pass http:https://pictie;
      image_filter resize $width $height;
    }

    location ~ /api/v1/picture {
      proxy_pass http:https://pictie;
    }

Хотелки

надо postges, etcd, libgd(v2)

A12n

config/app.yml: задать ключ, storage

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages