caddy-website/new/index.html

702 lines
26 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Caddy - The Ultimate Server with Automatic HTTPS</title>
{{include "/includes/head.html"}}
2023-09-19 09:30:32 -06:00
<link rel="stylesheet" href="/resources/css/vendor/asciinema-player-3.6.1.css">
<script src="/resources/js/vendor/asciinema-player-3.6.1.min.js"></script>
2023-10-07 16:43:39 -06:00
<script src="/resources/js/home.js"></script>
2023-09-19 09:30:32 -06:00
2023-09-27 18:12:23 -06:00
<link rel="stylesheet" href="/resources/css/marketing.css">
<link rel="stylesheet" href="/resources/css/home.css">
2023-09-19 09:30:32 -06:00
<!-- <meta property="og:title" content="Caddy 2 - The Ultimate Server with Automatic HTTPS">
2023-09-19 09:30:32 -06:00
<meta name="twitter:title" value="Caddy 2 - The Ultimate Server with Automatic HTTPS"> -->
</head>
2023-09-29 11:45:24 -06:00
<body>
<div class="hero">
{{include "/includes/header.html" "dark-header"}}
2023-09-19 09:30:32 -06:00
<div class="wrapper">
2023-09-27 18:56:17 -06:00
<div class="hero-content">
2023-09-19 09:30:32 -06:00
<div class="asides">
<div>
<h1>
<div class="color-dodge">
<div class="the">The</div>
Ultimate Server
</div>
2023-09-29 11:45:24 -06:00
<div class="subheading">
2023-09-25 12:29:34 -06:00
makes your sites more <b>secure</b>, more <b>reliable</b>, and more <b>scalable</b> than any other solution.
2023-09-19 09:30:32 -06:00
</div>
</h1>
<div class="action-buttons">
<a href="/download" class="button primary">Download</a>
<a href="/docs/" class="button cool">Docs<sh></sh></a>
2023-09-25 17:00:02 -06:00
<iframe src="https://ghbtns.com/github-btn.html?user=caddyserver&amp;repo=caddy&amp;type=star&amp;count=true&amp;size=large" frameborder="0" scrolling="0" width="160px" height="30px" class="github-stars" style="margin: 0 auto; align-self: center;"></iframe>
</div>
2023-09-19 09:30:32 -06:00
</div>
<div>
<div class="display right">
<div class="caption">
2023-09-27 18:56:17 -06:00
<div id="video-demo"></div>
2023-09-19 09:30:32 -06:00
Play screencast to see Caddy serve HTTPS in &lt; 1 minute.
</div>
</div>
</div>
</div>
2023-09-20 16:27:38 -06:00
<div class="sponsors-leaders">
2023-09-27 16:05:55 -06:00
<!-- <h3>Trusted, used, and sponsored by <b>leaders</b></h3> -->
2023-09-20 16:27:38 -06:00
<h3>Sponsored by <b>leaders</b></h3>
2023-09-27 16:05:55 -06:00
<!--
Images are not in any particular order except the top row is featured (higher-tier) sponsors.
Images are individually adjusted to appear roughly equally sized and weighted along their row.
-->
<div class="sponsor-logos">
2023-09-25 12:29:34 -06:00
<a href="https://zerossl.com" target="_blank">
2023-09-27 18:12:23 -06:00
<img src="/resources/images/sponsors/zerossl.svg" alt="ZeroSSL" title="ZeroSSL" height="45">
2023-09-20 16:27:38 -06:00
</a>
2023-09-25 12:29:34 -06:00
<a href="https://stripe.com" target="_blank">
2023-09-27 18:12:23 -06:00
<img src="/resources/images/sponsors/stripe.svg" alt="Stripe" title="Stripe" class="featured" height="45">
2023-09-20 16:27:38 -06:00
</a>
</div>
2023-09-27 16:05:55 -06:00
<div class="sponsors-divider"></div>
<div class="sponsor-logos">
2023-09-29 11:45:24 -06:00
<a href="https://opensource.mercedes-benz.com/" target="_blank">
<img src="/resources/images/sponsors/mercedes-benz.svg" alt="Mercedes-Benz" title="Mercedes-Benz" height="38">
</a>
<a href="https://sourcegraph.com/" target="_blank">
<img src="/resources/images/sponsors/sourcegraph.svg" alt="Sourcegraph" title="Sourcegraph" height="30">
</a>
<a href="https://tailscale.com" target="_blank">
<img src="/resources/images/sponsors/tailscale.svg" alt="Tailscale" title="Tailscale" height="22">
</a>
<a href="https://les-tilleuls.coop/" target="_blank">
<img src="/resources/images/sponsors/les-tilleuls.svg" alt="Les-Tilleuls" title="Les-Tilleuls" height="25">
</a>
<a href="https://fusionauth.com" target="_blank">
<img src="/resources/images/sponsors/fusionauth.svg" alt="FusionAuth" title="FusionAuth" height="35">
</a>
<a href="https://www.aryeo.com" target="_blank">
<img src="/resources/images/sponsors/aryeo.svg" alt="Aryeo" title="Aryeo" height="26">
</a>
<a href="https://checklyhq.com" target="_blank">
<img src="/resources/images/sponsors/checkly.svg" alt="Checkly" title="Checkly" height="24" style="position: relative; top: 3px;">
</a>
<a href="https://appcove.com/" target="_blank">
<img src="/resources/images/sponsors/appcove.png" alt="AppCove" title="AppCove" height="24">
</a>
<a href="https://www.transistor.fm" target="_blank">
<img src="/resources/images/sponsors/transistorfm.svg" alt="Transistor" title="Transistor" height="32">
</a>
<a href="https://photostructure.com/" target="_blank">
<img src="/resources/images/sponsors/photostructure.svg" alt="PhotoStructure" title="PhotoStructure" height="30">
</a>
<a href="https://gitea.com/" target="_blank">
<img src="/resources/images/sponsors/gitea.svg" alt="Gitea" title="Gitea" height="25">
</a>
<a href="https://aniftyco.com/" target="_blank">
<img src="/resources/images/sponsors/niftyco.svg" alt="Niftyco" title="Niftyco" height="25">
</a>
<a href="https://iqm.com/" target="_blank">
<img src="/resources/images/sponsors/iqm.svg" alt="IQM" title="IQM" height="24">
</a>
<a href="https://approximated.app/" target="_blank">
<img src="/resources/images/sponsors/approximated.svg" alt="Approximated" title="Approximated" height="20">
</a>
2023-09-29 11:45:24 -06:00
<a href="/sponsor" class="button purple">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-new-section" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M9 12l6 0"></path>
<path d="M12 9l0 6"></path>
<path d="M4 6v-1a1 1 0 0 1 1 -1h1m5 0h2m5 0h1a1 1 0 0 1 1 1v1m0 5v2m0 5v1a1 1 0 0 1 -1 1h-1m-5 0h-2m-5 0h-1a1 1 0 0 1 -1 -1v-1m0 -5v-2m0 -5"></path>
</svg>
Join the ranks
</a>
</div>
<!-- <a href="#">Why a sponsorship</a> -->
<!-- <a href="/sponsor" class="button purple">Sponsorship info</a> -->
2023-09-20 16:27:38 -06:00
</div>
2023-09-19 09:30:32 -06:00
</div>
</div>
</div>
2023-09-19 09:30:32 -06:00
2023-10-02 17:11:59 -06:00
<main>
2023-09-25 12:29:34 -06:00
2023-10-02 17:11:59 -06:00
<div class="wavy-top">
<div class="bgtext">
Every<br>
<span class="site-on">site on</span><br>
HTTPS
2023-09-27 16:05:55 -06:00
</div>
2023-10-02 17:11:59 -06:00
<h2>
<b>By default, </b>Caddy <b>automatically obtains</b> and <b>renews</b> TLS certificates for <b>all your sites.</b>
</h2>
2023-09-27 18:12:23 -06:00
2023-10-02 17:11:59 -06:00
<div class="wrapper feature cols">
2023-09-25 17:00:02 -06:00
<div class="col">
<h3 class="purple">HTTPS/TLS for custom domains</h3>
2023-09-25 17:00:02 -06:00
<p>
The secret sauce of almost every white-label SaaS is Caddy's original On-Demand TLS feature. Grow your SaaS business by orders of magnitude with ease!
2023-09-25 17:00:02 -06:00
</p>
</div>
<div class="col">
<h3 class="green">Dynamically provision certificates</h3>
2023-09-25 17:00:02 -06:00
<p>
With On-Demand TLS, only Caddy obtains, renews, and maintains certificates on-the-fly during TLS handshakes. Perfect for customer-owned domains.
</p>
</div>
<div class="col">
<h3 class="blue">Massively scale your TLS</h3>
2023-09-25 17:00:02 -06:00
<p>
Other web servers and scripted certificate tools fall over with hundreds of thousands of sites or thousands of instances. Caddy is designed to manage certificates reliably at this scale.
2023-09-25 17:00:02 -06:00
</p>
2023-10-02 17:11:59 -06:00
</div>
2023-11-08 17:40:38 -07:00
</div>
2023-10-02 17:11:59 -06:00
2023-11-08 17:40:38 -07:00
<div class="sponsorship-primer">
<h3>sponsored by <b>users like you</b></h3>
<p>
Caddy is free software and relies on sponsorships to survive. Not just donations: sponsorships ensure ongoing development and provide your business with tangible benefits.
</p>
<a href="/sponsor" class="button purple">See sponsorships</a>
2023-09-25 12:29:34 -06:00
</div>
</div>
2023-10-02 17:11:59 -06:00
<section class="light">
<div class="section-upset">
<div class="wrapper">
<h2>
The <b>most advanced</b> HTTPS server <b>in the world</b>
</h2>
2023-09-25 17:00:02 -06:00
</div>
2023-10-02 17:11:59 -06:00
</div>
<div class="wrapper">
2023-10-02 17:11:59 -06:00
<div class="feature cols">
<div class="col">
<h3 class="green">All you need for TLS and PKI 🔐</h3>
2023-10-02 17:11:59 -06:00
<p>
Caddy securely serves all sites with TLS by default. It can also manage your internal PKI for you across a fleet of servers and clients.
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
<h3 class="purple">On-line config API ⚡️</h3>
2023-10-02 17:11:59 -06:00
<p>
Caddy's native configuration is a JSON document that you can export and manipulate with a RESTful config API.
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
<h3 class="blue">PCI, HIPAA, and NIST compliant ✅</h3>
2023-10-02 17:11:59 -06:00
<p>
Caddy's TLS defaults are secure and pass PCI, HIPAA, and NIST compliance requirements. Yes, defaults: no hassle required.
</p>
</div>
<div class="col">
<h3 class="purple">HTTPS for localhost 🏠</h3>
<p>
We mean it when we say Caddy serves every site on HTTPS. Even localhost and internal IPs are served with TLS using the intermediate of a fully-automated, self-managed CA that is automatically installed into most local trust stores.
</p>
</div>
<div class="col">
<h3 class="green">Cluster coordination 🌐</h3>
<p>
Simply configure multiple Caddy instances with the same storage, and they will automatically coordinate certificate management and share resources such as keys and OCSP staples!
2023-10-02 17:11:59 -06:00
</p>
</div>
2023-09-25 17:00:02 -06:00
</div>
2023-10-02 17:11:59 -06:00
<div class="demobox">
<h2>Experience it</h2>
2023-09-25 17:00:02 -06:00
<p>
2023-10-02 17:11:59 -06:00
<b>Discover Caddy's automagic HTTPS features.</b>
2023-09-25 17:00:02 -06:00
</p>
<p>
2023-10-02 17:11:59 -06:00
Point any subdomain named <b><code>caddydemo</code></b> to:
</p>
<p class="demo-ips">
<code>
<span class="record-type">A</span>
<span class="demo-ip">1.2.3.4</span>
</code>
<code>
<span class="record-type">AAAA</span>
<span class="demo-ip">::f00</span>
</code>
2023-09-25 17:00:02 -06:00
</p>
<p>
2023-10-02 17:11:59 -06:00
Then <b>visit it</b> in your browser.
2023-09-25 17:00:02 -06:00
</p>
<p>
2023-10-02 17:11:59 -06:00
You'll notice how Caddy <b>provisions a certificate</b> for your domain <b>automatically.</b>
2023-09-25 17:00:02 -06:00
</p>
2023-10-02 17:11:59 -06:00
<div class="demo-help">
<p>
<b>Not working?</b> Make sure to use a subdomain of a registered domain, not a "sub-subdomain."
Verify you have created the public DNS records shown above with the correct values.
You may have to allow time for propagation. Consult your DNS provider's documentation or support for more information.
</p>
<p>
<b>Example subdomains that could work:</b> <code>caddydemo.example.net</code>, <code>caddydemo.example.co.uk</code>
</p>
2023-11-08 17:40:38 -07:00
<p>
Caddy is capable of serving TLS for any domains and IPs. This demo is intentionally restricted.
</p>
2023-10-02 17:11:59 -06:00
</div>
2023-09-25 17:00:02 -06:00
</div>
</div>
2023-10-02 17:11:59 -06:00
</section>
2023-09-25 17:00:02 -06:00
2023-11-08 17:40:38 -07:00
<section class="diagonal up light gray feature">
2023-10-02 17:11:59 -06:00
<div class="wrapper">
2023-11-08 17:40:38 -07:00
<h2>All you need for TLS and PKI</h2>
2023-10-02 17:11:59 -06:00
<p>
2023-11-08 17:40:38 -07:00
Caddy is not only the world leader in certificate automation, it is also a fully-featured certificate authority for your own internal PKI.
2023-10-02 17:11:59 -06:00
</p>
2023-11-08 17:40:38 -07:00
<div class="asides">
<div>
2023-10-02 17:11:59 -06:00
<p>
2023-11-08 17:40:38 -07:00
Caddy 2 is a <a href="/docs/extending-caddy">highly extensible</a>, self-hosted platform on which you can build, configure, and deploy long-running services ("apps").
2023-10-02 17:11:59 -06:00
</p>
<p>
2023-11-08 17:40:38 -07:00
Caddy ships with apps for an <a href="/docs/modules/http">HTTPS server</a> (static files, reverse proxying, load balancing, etc.), <a href="/docs/modules/tls">TLS certificate manager</a>, and <a href="/docs/modules/pki">fully-managed internal PKI</a>. Caddy apps collaborate to make complex infrastructure just work with fewer moving parts.
2023-10-02 17:11:59 -06:00
</p>
<p>
2023-11-08 17:40:38 -07:00
<b>For example, the config shown here keeps your TLS certificates renewed for other programs to use;</b> no external tools or HTTP daemon required!
2023-10-02 17:11:59 -06:00
</p>
2023-11-08 17:40:38 -07:00
<p>
Providing a unified configuration, on-line <a href="/docs/api">config API</a>, and <a href="/docs/json/">automatic documentation</a> for all apps, Caddy is nearly infinitely extensible. Thanks to its unique <a href="/docs/architecture">modular architecture</a>, we can offer unlimited features without bloating the code base.
</p>
</div>
<div>
<div class="display right">
<code class="light">{
"apps": {
"tls": {
"certificates": {
"automate": [
"example.com",
"sub.example.com",
"example.net"
]
}
}
}
}</code></div>
</div>
</div>
</div>
</section>
<section class="diagonal down dark feature">
<div class="wrapper">
<h2>
A forward-thinking reverse proxy
</h2>
<p>
Caddy's proxy was designed to be as forward-compatible as possible and has major batteries included: load balancing, active and passive health checks, dynamic upstreams, retries, pluggable transports, and of course, best-in-class TLS security.
</p>
<div class="asides asides-40-60">
<div class="spacing">
<div class="rollover" data-rollover="rollover-php">
<h3 class="green">Proxy HTTP, FastCGI, WebSockets, and more</h3>
<p>
Capable of proxying HTTP and HTTPS, but also WebSockets, gRPC, FastCGI (usually PHP), and more! The underlying transport module is extensible for any custom way to generate an HTTP response.
</p>
</div>
<div class="rollover" data-rollover="rollover-dynamic-backends">
<h3 class="purple">Dynamic backends</h3>
<p>
Provide Caddy with a static list of backends or enable a module to retrieve backends dynamically during each request: ideal for rapidly changing environments. Caddy flows with your infrastructure!
</p>
</div>
<div class="rollover" data-rollover="rollover-ha">
<h3 class="blue">High availability</h3>
<p>
Caddy comes with a whole suite of high availability (HA) features: advanced health checking, graceful (hitless) config changes, circuit breaking, load limiting, on-line retries, and more. The best part? It's all free. No enterprise-level paywalls.
</p>
</div>
</div>
<div>
<div class="display right">
<code class="dark">example.com
<span class="comment"># Serve PHP sites</span>
handle /blog/* {
root * /var/www/wordpress
<span class="rollover-php rollover-green">php_fastcgi localhost:9000</span>
file_server
}
<span class="comment"># Proxy an autoscaling API with dynamic backends</span>
<span class="rollover-dynamic-backends rollover-purple">reverse_proxy /api/* {
dynamic srv _api._tcp.example.com
}</span>
<span class="comment"># Proxy a compute-heavy distributed service
# with load balancing and health checks</span>
<span class="rollover-ha rollover-blue">reverse_proxy /service/* {
to 192.168.1.1 192.168.1.2 192.168.1.3
lb_policy least_conn
lb_try_duration 10s
fail_duration 5s
}</span>
<span class="comment"># Proxy everything else to an HTTPS upstream</span>
reverse_proxy https://service.example.com {
header_up Host {upstream_hostport}
}<div class="blinking"></div></code>
</div>
2023-10-02 17:11:59 -06:00
</div>
2023-11-08 17:40:38 -07:00
</div>
<div class="cols">
<div class="col">
<div class="sponsorship-primer">
<h3>software <b>assurance</b></h3>
<p>
Without sponsorships, Caddy could stop being developed at any time.
With sponsorships, you gain peace of mind knowing that the project will continue to be developed, along with tangible benefits like private support and training.
</p>
<a href="/sponsor" class="button purple">See sponsorships</a>
</div>
</div>
2023-11-08 17:40:38 -07:00
<div class="col">
<div class="sponsor-experience stripe">
<img src="/resources/images/sponsors/stripe.svg" class="experience-logo">
<div class="experience-content">
<div class="experience-quote">
"With its extensible architecture and on-line config API, Caddy powers many of Stripe's internal systems."
</div>
<div class="experience-credit">
<img src="https://preview.tabler.io/static/avatars/002m.jpg" class="experience-picture">
<cite>
<b>Sean Lin</b>
Example product manager
</cite>
</div>
</div>
</div>
</div>
2023-09-25 17:00:02 -06:00
</div>
2023-10-02 17:11:59 -06:00
<h2>
Production-grade static file server
</h2>
<p>
Serving static files is a tried-and-true method of delivering sites to numerous clients efficiently. Caddy has a robust file server that can be combined with other middleware features for the ultimate effortless website.
2023-10-02 17:11:59 -06:00
</p>
2023-11-08 17:40:38 -07:00
<div class="asides asides-40-60">
<div class="spacing">
<div class="rollover" data-rollover="rollover-compress">
<h3 class="blue">Compression</h3>
<p>
Caddy can compress files on-the-fly or serve precompressed files for extra performance. Caddy is also the first web server to support Zstandard encoding.
</p>
</div>
<div class="rollover" data-rollover="rollover-vfs">
<h3 class="green">Virtual file systems</h3>
<p>
Serve your static site from anything: the local file system, remote cloud storage, a database, or even embedded in the server binary!
</p>
</div>
<div class="rollover" data-rollover="rollover-range">
<h3 class="yellow">Range requests, Etags, and more</h3>
<p>
Unlike many ad-hoc file servers intended for temporary local development, Caddy fully supports Range requests, Etags, and a full production feature set.
</p>
</div>
<div class="rollover" data-rollover="rollover-browse">
<h3 class="purple">Directory file browser</h3>
<p>
If a directory without an index file is requested, Caddy can show an elegant file browser with breadcrumb nav, file size visualizations, filetype icons, and a grid view.
</p>
</div>
2023-10-02 17:11:59 -06:00
</div>
2023-11-08 17:40:38 -07:00
<div>
<div class="display right">
<code class="light">example.com
root * /var/www
<span class="comment"># Serve precompressed files if present</span>
<span class="rollover-compress rollover-blue">file_server /downloads/* {
precompressed gzip zstd br
}</span>
<span class="comment"># Compress everything else that would benefit</span>
<span class="rollover-compress rollover-blue">encode zstd gzip</span>
<span class="comment"># Get files from a database</span>
<span class="rollover-vfs rollover-green">file_server /database/* {
fs sqlite data.sql
}</span>
<span class="comment"># Get files from within the Caddy binary</span>
<span class="rollover-vfs rollover-green">file_server /embedded/* {
fs embedded
}</span>
<span class="comment rollover-range rollover-yellow"># (Range/Etag/etc. all work without extra config)</span>
<span class="comment"># Serve static site with directory listings as needed</span>
<span class="rollover-browse rollover-purple">file_server browse</span></code>
</div>
2023-10-02 17:11:59 -06:00
</div>
2023-11-08 17:40:38 -07:00
</div>
<div class="cols rollover" data-rollover="rollover-browse">
2023-10-02 17:11:59 -06:00
<div class="col">
2023-11-08 17:40:38 -07:00
<img src="/resources/images/file-browser/browse-themes.png" class="gallery">
</div>
<div class="col">
2023-11-08 17:40:38 -07:00
<img src="/resources/images/file-browser/browse-gallery-light.png" class="gallery">
2023-10-02 17:11:59 -06:00
</div>
2023-09-25 17:00:02 -06:00
</div>
2023-10-02 17:11:59 -06:00
</div>
</section>
<section class="light feature">
<div class="wrapper">
<h2>
2023-11-08 17:40:38 -07:00
Flexible configuration compatible with any workflow
2023-10-02 17:11:59 -06:00
</h2>
<p>
Configure your server your way. Caddy's native configuration format is JSON, but with Caddy's config adapters, you can use any config format you prefer. All configuration is posted through a RESTful admin API, and Caddy's CLI helps you work with config files easily.
2023-10-02 17:11:59 -06:00
</p>
2023-11-08 17:40:38 -07:00
<div class="asides">
<div>
<div class="display left">
<code class="dark">$ caddy start --config caddy.json
$ curl localhost:2019/id/my_handler \
-X PATCH \
-H "Content-Type: application/json" \
-d '{
"handler": "static_response",
"body": "Work smarter, not harder."
}'
$ curl localhost:2019/config/ | jq<div class="blinking"></div></code>
</div>
</div>
<div>
<h3>JSON config API</h3>
<p>
Caddy's native config format is JSON, giving you incredible power and flexibility for automated, large-scale deployments.
<p>
Make dynamic config changes through an <a href="/docs/api">intuitive, programmable REST API</a> that offers ACID guarantees. It is also <b>safely scoped</b>, meaning that the URI path restricts changes, making it impossible to accidentally alter other parts of your config.
</p>
<!-- <ul>
<li><b>Atomic:</b> Multiple changes in a single request are treated as a single unit; any failed change aborts all the other changes.</li>
<li><b>Consistent:</b> No invalid configurations can be loaded; your server will never break if a problem is detected at config load.</li>
<li><b>Isolated:</b> No config changes rely on another. (It helps that HTTP is a stateless protocol!)</li>
<li><b>Durable:</b> Caddy automatically persists the current, valid configuration to disk and can safely resume it after a power cycle if the <code>--resume</code> flag is used.</li>
</ul> -->
<!-- <a href="/docs/api-tutorial" class="cyan button">API <b>tutorial</b></a>
&nbsp;
<a href="/docs/api" class="gray button">API <b>reference</b></a> -->
</div>
</div>
<div class="asides">
<div>
<h3>Caddyfile</h3>
<p>
Most people prefer to use a <a href="/docs/caddyfile">Caddyfile</a> because it lets you get a production-ready site up and running in just a few hand-written lines. It's not uncommon for Caddyfiles to be just <a href="https://twitter.com/yakczar/status/713712646147743744">~15% the size of a less-capable nginx config</a>!
</p>
</div>
<div>
<div class="display right">
<code class="light">caddyserver.com
root * src
file_server
templates
encode zstd gzip
redir /docs/json /docs/json/
rewrite /docs/json/* /docs/json/index.html
rewrite /docs/* /docs/index.html
reverse_proxy /api/* localhost:9002</code>
<div class="caption">Actual config used by this site.</div>
</div>
</div>
</div>
<div class="asides">
<div>
<div class="display left">
<code class="dark">$ caddy run \
--config nginx.conf \
--adapter nginx<div class="blinking"></div></code>
</div>
</div>
<div>
<h3>Config adapters</h3>
<p>
Power Caddy with anything, even NGINX config files!
</p>
<p>
With first-class support for <a href="/docs/config-adapters">config adaptation</a>, you can configure your web server with your favorite format: YAML, TOML, CUE, NGINX, HCL, Dhall, JSON with comments, or even a MySQL database. The Caddyfile is a built-in config adapter.
</p>
<!-- <p>
Fewer moving parts means fewer failures, lower costs, and less sunk time.
</p> -->
<!-- <a href="/docs/config-adapters" class="gray button">Config adapters</a> -->
</div>
</div>
<!-- <div class="cols">
2023-10-02 17:11:59 -06:00
<div class="col">
<h3 class="green">Config adapters</h3>
2023-10-02 17:11:59 -06:00
<p>
Use whatever config format you like, such as NGINX config, YAML, TOML, CUE, HCL, Dhall, or even a MySQL database!
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
<h3 class="purple">Human-friendly Caddyfile</h3>
2023-10-02 17:11:59 -06:00
<p>
The Caddyfile is most people's preferred format for hand-written configurations because it is simple to read and write.
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
<h3 class="blue">Admin API</h3>
2023-10-02 17:11:59 -06:00
<p>
Caddy's config is managed through an administration API that is programmable and makes dynamic changes a breeze.
2023-10-02 17:11:59 -06:00
</p>
</div>
2023-11-08 17:40:38 -07:00
</div> -->
2023-10-07 16:43:39 -06:00
2023-11-02 16:33:52 -06:00
<div class="testimonials-container">
<div class="testimonials">
<div class="testimonial-col"></div>
<div class="testimonial-col"></div>
<div class="testimonial-col"></div>
</div>
2023-10-07 16:43:39 -06:00
</div>
2023-09-25 17:00:02 -06:00
</div>
2023-10-02 17:11:59 -06:00
</section>
2023-09-25 17:00:02 -06:00
2023-10-02 17:11:59 -06:00
<section class="diagonal up light gray feature">
<div class="wrapper">
<h2>
Unparalleled extensibility
</h2>
<p>
2023-11-08 17:40:38 -07:00
Caddy is the only server in the world with its novel, modular architecture. At its core, Caddy is a configuration manager that runs apps like an HTTP server, internal certificate authority, TLS certificate manager, process supervisor, and more.
</p>
<p>
2023-11-08 17:40:38 -07:00
And because of its unique design, all these features are freely available without bloating the software. Only compile in what you need.
2023-10-02 17:11:59 -06:00
</p>
<div class="cols">
<div class="col">
2023-11-08 17:40:38 -07:00
<h3 class="green">Unlimited power</h3>
2023-10-02 17:11:59 -06:00
<p>
2023-11-08 17:40:38 -07:00
Nearly every part of the config that "does something" is pluggable. Caddy offers so much in such a lean package.
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
2023-11-08 17:40:38 -07:00
<h3 class="purple">Native CPU performance</h3>
2023-10-02 17:11:59 -06:00
<p>
2023-11-08 17:40:38 -07:00
No RPC calls or flimsy dependency management. Plugins are compiled into the static binary, making successful deployments certain and runtimes blazing fast.
2023-10-02 17:11:59 -06:00
</p>
</div>
<div class="col">
2023-11-08 17:40:38 -07:00
<h3 class="blue">Easy to develop</h3>
2023-10-02 17:11:59 -06:00
<p>
2023-11-08 17:40:38 -07:00
Writing Caddy plugins is as easy as writing a Go package.
2023-10-02 17:11:59 -06:00
</p>
</div>
2023-09-25 17:00:02 -06:00
</div>
2023-09-25 12:29:34 -06:00
</div>
2023-10-02 17:11:59 -06:00
</section>
2023-09-25 12:29:34 -06:00
2023-09-25 17:00:02 -06:00
2023-10-02 17:11:59 -06:00
<section class="light feature">
<div class="wrapper">
<h2>
The gold standard web server
</h2>
<p>
Caddy keeps your sites up when other servers let you down.
</p>
<div class="cols">
<div class="col">
<h3 class="green">Dynamically provision certificates</h3>
<p>
With On-Demand TLS, only Caddy obtains, renews, and maintains certificates on-the-fly during TLS handshakes. Perfect for customer-owned domains.
</p>
</div>
<div class="col">
<h3 class="purple">Dynamically provision certificates</h3>
<p>
With On-Demand TLS, only Caddy obtains, renews, and maintains certificates on-the-fly during TLS handshakes. Perfect for customer-owned domains.
</p>
</div>
<div class="col">
<h3 class="blue">Dynamically provision certificates</h3>
<p>
With On-Demand TLS, only Caddy obtains, renews, and maintains certificates on-the-fly during TLS handshakes. Perfect for customer-owned domains.
</p>
</div>
2023-09-25 17:00:02 -06:00
</div>
</div>
2023-10-02 17:11:59 -06:00
</section>
</main>
2023-09-25 12:29:34 -06:00
2023-09-20 16:27:38 -06:00
2023-09-29 11:45:24 -06:00
{{include "/includes/footer.html"}}
2023-09-25 17:00:02 -06:00
2023-10-10 12:03:33 -06:00
<template id="tpl-testimonial">
<div class="testimonial">
<img class="testimonial-picture">
<div class="testimonial-content">
<div class="testimonial-quote">
</div>
<div class="testimonial-name">
</div>
<div class="testimonial-role">
</div>
</div>
</div>
</template>
2023-09-19 09:30:32 -06:00
<script>
2023-09-27 18:56:17 -06:00
AsciinemaPlayer.create('/resources/321140.cast', $('#video-demo'), {
2023-09-19 09:30:32 -06:00
preload: true,
autoPlay: true,
controls: true
});
</script>
</body>
</html>