---
title: "Deploy imgproxy"
description: "Fast on-the-fly image resizing server with signed URLs"
category: "Other"
url: https://railway.com/deploy/imgproxy-1
---

# Deploy imgproxy

Fast on-the-fly image resizing server with signed URLs

**[Deploy imgproxy on Railway](https://railway.com/template/imgproxy-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/imgproxy-1/manifest.json

- **Creator:** zer0person's Projects
- **Category:** Other
- **Total deploys:** 1

## Template content

### imgproxy

- **Image:** ghcr.io/imgproxy/imgproxy:latest
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host imgproxy on Railway

[imgproxy](https://github.com/imgproxy/imgproxy) is a fast and secure standalone server for resizing, converting and processing images on the fly. You give it a source image URL and processing options in the request path and it returns the result.

## About Hosting imgproxy

This template runs the official `ghcr.io/imgproxy/imgproxy:latest` image on port 8080. It is stateless, so there is no volume. So that your server is not an open image proxy for anyone on the internet, URL signing is on: the template generates a random hex `IMGPROXY_KEY` and `IMGPROXY_SALT` for you. You can find both in the service Variables tab. Requests without a valid HMAC signature are rejected with 403, so open `/health` to check the server is up. Use the key and salt to sign URLs from your app, following the [URL signature docs](https://docs.imgproxy.net/usage/signing_url).

You can restrict sources further by adding `IMGPROXY_ALLOWED_SOURCES` (comma-separated URL prefixes).

## Common Use Cases

- Serve responsive, resized and WebP/AVIF-converted images for a website or app
- Generate thumbnails and crops without storing multiple copies
- Put an image processing layer in front of S3 or any public image host

## Dependencies for imgproxy Hosting

- One stateless service; nothing else

### Deployment Dependencies

- [imgproxy on GitHub](https://github.com/imgproxy/imgproxy)
- [Documentation](https://docs.imgproxy.net)
- [Container image](https://github.com/imgproxy/imgproxy/pkgs/container/imgproxy)

## Why Deploy imgproxy on Railway?

Railway gives you a public HTTPS URL, generated signing secrets and automatic restarts with no server to maintain.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/imgproxy-1
