diff --git a/docker-compose.yaml.example b/docker-compose.yaml.example index 3afbe98..ac52ce4 100644 --- a/docker-compose.yaml.example +++ b/docker-compose.yaml.example @@ -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: diff --git a/openresty/config/conf/nginx.conf b/openresty/config/conf/nginx.conf index 2a07a9a..ba129c0 100644 --- a/openresty/config/conf/nginx.conf +++ b/openresty/config/conf/nginx.conf @@ -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; diff --git a/start.sh b/start.sh index 206a0fc..e8cdfc3 100644 --- a/start.sh +++ b/start.sh @@ -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