File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 33[wwww]
44listen = /run/php/php%backend_version%-fpm.dummy.sock
55listen.owner = hestiamail
6- listen.group = www-data
6+ listen.group = hestiamail
77listen.mode = 0660
88
99;"hestiamail" user created to prevent users from abusing this config
1010user = hestiamail
11- group = www-data
11+ group = hestiamail
1212
1313pm = ondemand
1414pm.max_children = 4
Original file line number Diff line number Diff line change 11; origin-src: deb/php-fpm/www.conf
22
33[www]
4- listen = 127.0.0.1:9000
4+ listen = /run/php/www.sock;
55listen.allowed_clients = 127.0.0.1
66
77;"hestiamail" user created to prevent users from abusing this config
88user = hestiamail
9- group = www-data
9+ group = hestiamail
1010
1111pm = ondemand
1212pm.max_children = 4
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ server {
4343
4444 fastcgi_index index.php;
4545 fastcgi_param HTTP_EARLY_DATA $rfc_early_data if_not_empty;
46- fastcgi_param SCRIPT_FILENAME $request_filename ;
46+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name ;
4747
48- fastcgi_pass 127.0.0.1:9000 ;
48+ fastcgi_pass unix:/run/php/www.sock ;
4949 }
5050 }
5151
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ server {
3535 include /etc/nginx/fastcgi_params;
3636
3737 fastcgi_index index.php;
38- fastcgi_param SCRIPT_FILENAME $request_filename ;
38+ fastcgi_param SCRIPT_FILENAME $document_root $ fastcgi_script_name ;
3939
40- fastcgi_pass 127.0.0.1:9000 ;
40+ fastcgi_pass unix:/run/php/www.sock ;
4141 }
4242 }
4343
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ server {
3838
3939 fastcgi_index index.php;
4040 fastcgi_param HTTP_EARLY_DATA $rfc_early_data if_not_empty;
41- fastcgi_param SCRIPT_FILENAME $request_filename ;
41+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name ;
4242
43- fastcgi_pass 127.0.0.1:9000 ;
43+ fastcgi_pass unix:/run/php/www.sock ;
4444 }
4545 }
4646
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ server {
3030 include /etc/nginx/fastcgi_params;
3131
3232 fastcgi_index index.php;
33- fastcgi_param SCRIPT_FILENAME $request_filename ;
33+ fastcgi_param SCRIPT_FILENAME $document_root $ fastcgi_script_name ;
3434
35- fastcgi_pass 127.0.0.1:9000 ;
35+ fastcgi_pass unix:/run/php/www.sock ;
3636 }
3737 }
3838
You can’t perform that action at this time.
0 commit comments