Updated v2: Caddyfile examples (markdown)

Matt Holt 2019-10-29 14:48:54 -06:00
parent 0391a2f2bc
commit d334704652

@ -14,7 +14,7 @@ encode gzip
php_fastcgi php-fpm:9000 php_fastcgi php-fpm:9000
file_server file_server
``` ```
The converted equivalant (_./caddy adapt-config --input /path/to/Caddyfile --adapter caddyfile --pretty_) in json looks like this: The converted equivalant (`caddy adapt --config /path/to/Caddyfile --pretty`) in JSON looks like this:
``` ```
{ {
@ -110,7 +110,7 @@ encode gzip
php_fastcgi unix//path/to/php.sock php_fastcgi unix//path/to/php.sock
file_server file_server
``` ```
The converted equivalant (_./caddy adapt-config --input /path/to/Caddyfile --adapter caddyfile --pretty_) in json looks like this: The converted equivalant (`caddy adapt --config /path/to/Caddyfile --pretty_) in JSON looks like this:
``` ```
{ {
"apps": { "apps": {