This commit is contained in:
chenc 2023-11-29 18:20:29 +08:00
parent 3c86224663
commit 40dca849a9
3 changed files with 15 additions and 15 deletions

View File

@ -114,7 +114,7 @@ services:
ipv4_address: ${NET_SUBNET:-10.12.25}.3
php73:
image: ${IMAGE_BASE}/php:7.3
image: ${IMAGE_BASE}/php:7.3.33
container_name: php73
restart: always
volumes:

View File

@ -84,20 +84,20 @@ lua_shared_dict my_limit_req_store1 100m;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf;
}
# location ~ ^/(status_74|ping_74)$ {
# access_log off;
# fastcgi_pass php74:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi.conf;
# }
# location ~ ^/(status_81|ping_81)$ {
# access_log off;
# fastcgi_pass php81:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi.conf;
# }
location ~ ^/(status_74|ping_74)$ {
access_log off;
fastcgi_pass php74:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf;
}
location ~ ^/(status_81|ping_81)$ {
access_log off;
fastcgi_pass php81:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf;
}
location /aix-agent {
proxy_pass http://10.12.25.1:10115/;
proxy_pass http://host.docker.internal:10115/;
}
location ~ [^/]\.php(/|$) {
fastcgi_pass php73:9000;

View File

@ -66,7 +66,7 @@ systemctl enable docker
fi
if ! command -v docker-compose >/dev/null 2>&1 ; then
curl -L https://mirror.ghproxy.com/https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
curl -L https://gh.api.99988866.xyz/https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
fi