mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 05:26:16 -04:00
docs: Cross-link root, file_server, php_fastcgi directives (#45)
* docs: Cross-link the `root` directive with file_server/php_fastcgi * Minor touch-ups Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
7f978fb437
commit
9791668f48
3 changed files with 33 additions and 8 deletions
|
@ -79,3 +79,10 @@ When using php-fpm listening via a unix socket:
|
|||
```caddy-d
|
||||
php_fastcgi unix//run/php/php7.4-fpm.sock
|
||||
```
|
||||
|
||||
The [`root` directive](/docs/caddyfile/directives/root) is often used to specify the directory containing the PHP files:
|
||||
|
||||
```caddy-d
|
||||
root * /var/www/html
|
||||
php_fastcgi 127.0.0.1:9000
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue