diff --git a/Specify Server.md b/Specify Server.md index 9e2873c..bd395cf 100644 --- a/Specify Server.md +++ b/Specify Server.md @@ -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`. \ No newline at end of file