Deploy Caddy
(Official) Powerful, flexible web server with plugins
Just deployed
Deploy and Host Caddy on Railway
The official template for Caddy: a popular, powerful web server that supports numerous plugins and configuration modes. It is written in Go, making it more memory-safe than traditional web servers.
Common Use Cases
- Static websites
- Proxying to services or backends
- Compressing content
- Managing certificates
- Security/auth
- So much more
About Hosting Caddy
This starter template runs a vanilla build and serves a static page as a welcome message.
Customize the build using Railway environment variables. You can also edit the Caddyfile directly from your own repo to have more control over the configuration.
Caddy configuration is famously simple.
Dependencies for Caddy Hosting
- None
Caddy does not have any external dependencies after a static compilation.
Deployment Dependencies
A Docker container is used to build a custom Caddy image, then another image is used to run it. Within the container,
Why Deploy Caddy on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Caddy on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
In addition, custom builds with plugins are hassle-free on Railway.
Template Content