diff --git a/src/docs/markdown/caddyfile-tutorial.md b/src/docs/markdown/caddyfile-tutorial.md index 8d65ed3..50fc439 100644 --- a/src/docs/markdown/caddyfile-tutorial.md +++ b/src/docs/markdown/caddyfile-tutorial.md @@ -263,5 +263,6 @@ One last thing that you will find most helpful: if you want to remark or note an ## Further reading +- [Common patterns](/docs/caddyfile/patterns) - [Caddyfile concepts](/docs/caddyfile/concepts) - [Directives](/docs/caddyfile/directives) \ No newline at end of file diff --git a/src/docs/markdown/caddyfile.md b/src/docs/markdown/caddyfile.md index 68d4f4c..638f218 100644 --- a/src/docs/markdown/caddyfile.md +++ b/src/docs/markdown/caddyfile.md @@ -8,7 +8,7 @@ The **Caddyfile** is a convenient Caddy configuration format for humans. It is m It looks like this: -``` +```caddy example.com root * /var/www/wordpress @@ -18,7 +18,7 @@ file_server (That's a real, production-ready Caddyfile that serves WordPress with fully-managed HTTPS.) -The basic idea is that you first type the address of your site, then the features or functionality you need your site to have. +The basic idea is that you first type the address of your site, then the features or functionality you need your site to have. [View more common patterns.](/docs/caddyfile/patterns) ## Menu @@ -28,6 +28,7 @@ The basic idea is that you first type the address of your site, then the feature - #### [Directives](/docs/caddyfile/directives) - #### [Request matchers](/docs/caddyfile/matchers) - #### [Global options](/docs/caddyfile/options) +- #### [Common patterns](/docs/caddyfile/patterns) diff --git a/src/docs/markdown/caddyfile/common-uses.md b/src/docs/markdown/caddyfile/patterns.md similarity index 93% rename from src/docs/markdown/caddyfile/common-uses.md rename to src/docs/markdown/caddyfile/patterns.md index ce49e28..7589f62 100644 --- a/src/docs/markdown/caddyfile/common-uses.md +++ b/src/docs/markdown/caddyfile/patterns.md @@ -1,10 +1,10 @@ --- -title: Common Caddyfile Uses +title: Common Caddyfile Patterns --- -# Common Caddyfile Uses +# Common Caddyfile Patterns -This page presents some complete, minimal Caddyfile configurations for common use cases, which you might find helpful when building your own configs. +This page demonstrates a few complete and minimal Caddyfile configurations for common use cases. These can be helpful starting points for your own Caddyfile documents. These are not drop-in solutions; you will have to customize your domain name, ports/sockets, directory paths, etc. They are intended to illustrate some of the most common configuration patterns. diff --git a/src/docs/markdown/quick-starts/caddyfile.md b/src/docs/markdown/quick-starts/caddyfile.md index 7597b1a..0590fb7 100644 --- a/src/docs/markdown/quick-starts/caddyfile.md +++ b/src/docs/markdown/quick-starts/caddyfile.md @@ -76,5 +76,6 @@ When you are done with Caddy, make sure to stop it: ## Further reading +- [Common patterns](/docs/caddyfile/patterns) - [Caddyfile concepts](/docs/caddyfile/concepts) - [Directives](/docs/caddyfile/directives) \ No newline at end of file diff --git a/src/includes/docs-nav.html b/src/includes/docs-nav.html index e826cb0..65ee2e4 100644 --- a/src/includes/docs-nav.html +++ b/src/includes/docs-nav.html @@ -32,7 +32,7 @@