Skip to content

Nginx docker container for resize image

License

Notifications You must be signed in to change notification settings

mike1pol/nginx-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-images

nginx image resizer and cache

Build

build image

docker build -t nginx-images .

Run

docker run -p 8080:80 -e BUCKET_URL=www.googleapis.com/download/storage/v1/b/my-bucket/0 nginx-images

Usage

Resize by width

http://localhost:8080/$media/{width}/my-super-image-hash

Crop by width and height

http://localhost:8080/$media/{width}x{height}/my-super-image-hash

About

Nginx docker container for resize image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published