* big pre-summer refactoring

+ introduce php7.4 and stay only php7.3 as max older version
+ workspace with php7.4 in future commits
This commit is contained in:
2021-04-13 00:01:26 +03:00
parent 998509196d
commit f3139e9716
34 changed files with 1013 additions and 606 deletions

View File

@ -1,9 +1,9 @@
upstream fpm {
server php-fpm:9000;
upstream php-fpm73 {
server php-fpm73:9000;
}
upstream fpm7.1 {
server php7.1-fpm:9000;
upstream php-fpm74 {
server php-fpm74:9000;
}
map $http_host $root {
@ -20,7 +20,7 @@ server {
include includes.d/octobercms.conf;
include includes.d/staticfiles.conf;
location ~ ^/index.php {
fastcgi_pass fpm;
fastcgi_pass php-fpm74;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
@ -49,7 +49,7 @@ server {
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_pass fpm;
fastcgi_pass php-fpm73;
fastcgi_index index.php;
}
}