mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Updated v2: Caddyfile examples (markdown)
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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user