added notes about php server version
This commit is contained in:
parent
4a3184e298
commit
647223cd36
@ -30,3 +30,16 @@ location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
```
|
||||
|
||||
The correct version of `php-fpm` must be represented:
|
||||
```
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
#
|
||||
# # With php-fpm (or other unix sockets):
|
||||
fastcgi_pass unix:/run/php/[version].sock;
|
||||
# # With php-cgi (or other tcp sockets):
|
||||
# fastcgi_pass 127.0.0.1:9000;
|
||||
}
|
||||
```
|
||||
Where `[version]` is the correct version, EG: `php8.1-fpm`.
|
Loading…
Reference in New Issue
Block a user