add
This commit is contained in:
parent
33c3438126
commit
3d11965b6e
@ -48,7 +48,7 @@ server {
|
|||||||
# # add_header 'Access-Control-Allow-Origin' $http_origin;
|
# # add_header 'Access-Control-Allow-Origin' $http_origin;
|
||||||
# # add_header 'Access-Control-Allow-Credentials' 'true';
|
# # add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
# # add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With';
|
# # add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With';
|
||||||
# include proxy.conf
|
# include proxy.conf;
|
||||||
# proxy_pass http://php81:22349;
|
# proxy_pass http://php81:22349;
|
||||||
# }
|
# }
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|||||||
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://github.chenc.dev/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-mirrors.qra.ink/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