Skip to content

alpin11/image-scaling-service

Repository files navigation

Image Scaling Service

Env Variables

  • DOMAINS: ; seperated list of urls without protocol (example.com/*;test.xyz/test/*...), regex matches so *.example.com works
  • MODE: whitelist/blacklist

Query Params

  • url: source of the image (required)
  • width
  • height
  • format: output format (default webp)
  • cache_max_age: sets the Cache-Control header on the image