This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Resize an image on the fly in Yandex Cloud from STORAGE_BUCKET to IMAGES_BUCKET | |
// https://aws.amazon.com/blogs/compute/resize-images-on-the-fly-with-amazon-s3-aws-lambda-and-amazon-api-gateway/ | |
// on YC set up the following rules for the images bucket (as a website hosting): | |
// Condition | |
// Response code 404 | |
// Key prefix resize | |
// Redirect | |
// Protocol HTTPS |