optimiza
This commit is contained in:
parent
3c86224663
commit
40dca849a9
@ -114,7 +114,7 @@ services:
|
|||||||
ipv4_address: ${NET_SUBNET:-10.12.25}.3
|
ipv4_address: ${NET_SUBNET:-10.12.25}.3
|
||||||
|
|
||||||
php73:
|
php73:
|
||||||
image: ${IMAGE_BASE}/php:7.3
|
image: ${IMAGE_BASE}/php:7.3.33
|
||||||
container_name: php73
|
container_name: php73
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@ -84,20 +84,20 @@ lua_shared_dict my_limit_req_store1 100m;
|
|||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
}
|
}
|
||||||
# location ~ ^/(status_74|ping_74)$ {
|
location ~ ^/(status_74|ping_74)$ {
|
||||||
# access_log off;
|
access_log off;
|
||||||
# fastcgi_pass php74:9000;
|
fastcgi_pass php74:9000;
|
||||||
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
# include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
# }
|
}
|
||||||
# location ~ ^/(status_81|ping_81)$ {
|
location ~ ^/(status_81|ping_81)$ {
|
||||||
# access_log off;
|
access_log off;
|
||||||
# fastcgi_pass php81:9000;
|
fastcgi_pass php81:9000;
|
||||||
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
# include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
# }
|
}
|
||||||
location /aix-agent {
|
location /aix-agent {
|
||||||
proxy_pass http://10.12.25.1:10115/;
|
proxy_pass http://host.docker.internal:10115/;
|
||||||
}
|
}
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_pass php73:9000;
|
fastcgi_pass php73:9000;
|
||||||
|
|||||||
2
start.sh
2
start.sh
@ -66,7 +66,7 @@ systemctl enable docker
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v docker-compose >/dev/null 2>&1 ; then
|
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
|
chmod +x /usr/local/bin/docker-compose
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user