php-fpm runs on socket in /run
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ http {
|
|||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
root html;
|
root html;
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass unix:/run/php8.5-fpm-joeac.net-http.sock
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[joeac.net]
|
[joeac.net]
|
||||||
user = nginx
|
user = nginx
|
||||||
group = nginx
|
group = nginx
|
||||||
listen = /run/php/php8.1-fpm-joeac.net-http.sock
|
listen = /run/php8.5-fpm-joeac.net-http.sock
|
||||||
listen.owner = nginx
|
listen.owner = nginx
|
||||||
listen.group = nginx
|
listen.group = nginx
|
||||||
listen.mode = 0660
|
listen.mode = 0660
|
||||||
|
|||||||
Reference in New Issue
Block a user