mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
Update php version in nginx conf
This commit is contained in:
parent
dff3da96d3
commit
eead7dc12b
1 changed files with 8 additions and 8 deletions
16
install.sh
16
install.sh
|
@ -219,7 +219,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
|
|
||||||
location ~ ^/index\.php$ {
|
location ~ ^/index\.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
@ -251,7 +251,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ /phpmyadmin/(.+\.php)$ {
|
location ~ /phpmyadmin/(.+\.php)$ {
|
||||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
|
@ -339,7 +339,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
|
|
||||||
location ~ ^/index\.php$ {
|
location ~ ^/index\.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
@ -370,7 +370,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ /phpmyadmin/(.+\.php)$ {
|
location ~ /phpmyadmin/(.+\.php)$ {
|
||||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
|
@ -420,7 +420,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
|
|
||||||
location ~ ^/index\.php$ {
|
location ~ ^/index\.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
@ -452,7 +452,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ /phpmyadmin/(.+\.php)$ {
|
location ~ /phpmyadmin/(.+\.php)$ {
|
||||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
|
@ -540,7 +540,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
|
|
||||||
location ~ ^/index\.php$ {
|
location ~ ^/index\.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
@ -571,7 +571,7 @@ echo 'include /etc/nginx/blockuseragents.rules;
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ /phpmyadmin/(.+\.php)$ {
|
location ~ /phpmyadmin/(.+\.php)$ {
|
||||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
|
|
Loading…
Add table
Reference in a new issue