Deploy Caddy
(Official) Powerful, flexible web server with plugins
Caddy
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 that says Hello World.
Customize the build and configuration 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
These are automatically provisioned for you. They are not runtime dependencies, and are only used for the initial build:
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
Caddy
caddyserver/railway