docs: New page: common Caddyfile patterns (#42)

* docs: New common uses page for Caddyfile

* Apply the quick and easy suggestions from code review

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

* Apply discussions from code review

* Add syntax highlighting to php_fastcgi docs

* Rename page and add more links to it

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
Matt Holt 2020-05-17 16:29:01 -06:00 committed by GitHub
parent e0f5ee1bb9
commit 360c3b2ad0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 132 additions and 1 deletions

View file

@ -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)
<!-- - #### [Caddyfile specification](/docs/caddyfile/spec) TODO: Finish this -->