mirror of
https://github.com/caddyserver/website.git
synced 2025-04-22 04:56:17 -04:00
docs: Add unix socket address to php_fastcgi
(#25)
As suggested in https://caddy.community/t/v2-setting-up-php/7518
This commit is contained in:
parent
98ecaa5329
commit
0b1bbb85f4
1 changed files with 6 additions and 0 deletions
|
@ -67,3 +67,9 @@ Same, but only for requests under `/blog/`:
|
|||
```
|
||||
php_fastcgi /blog/* 127.0.0.1:9000
|
||||
```
|
||||
|
||||
When using php-fpm listening via a unix socket:
|
||||
|
||||
```
|
||||
php_fastcgi unix//run/php/php7.4-fpm.sock
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue