konfigi nginxa dostosowane do konwencji php-fpm zamiast phpfpm
parent
19ef1e48d6
commit
e688050fb6
|
@ -17,7 +17,7 @@ server {
|
|||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
proxy_read_timeout 1200;
|
||||
fastcgi_pass unix:/var/run/phpfpm/rest-php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php-fpm/rest-php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
|
|
@ -17,7 +17,7 @@ server {
|
|||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
proxy_read_timeout 1200;
|
||||
fastcgi_pass unix:/var/run/phpfpm/pgadmin-php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php-fpm/pgadmin-php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
|
|
@ -17,7 +17,7 @@ server {
|
|||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
proxy_read_timeout 1200;
|
||||
fastcgi_pass unix:/var/run/phpfpm/ldapadmin-php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php-fpm/ldapadmin-php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
|
|
@ -16,7 +16,7 @@ server {
|
|||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
proxy_read_timeout 1200;
|
||||
fastcgi_pass unix:/var/run/phpfpm/frontend-php5-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php-fpm/frontend-php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
|
|
Loading…
Reference in New Issue