diff --git a/documents/solution/internet-application-development/video-website-solution.yml b/documents/solution/internet-application-development/video-website-solution.yml index 1d8123f7..8d70f263 100644 --- a/documents/solution/internet-application-development/video-website-solution.yml +++ b/documents/solution/internet-application-development/video-website-solution.yml @@ -45,12 +45,20 @@ Parameters: en: VSwitch Availability Zone1 zh-cn: 交换机可用区1 AssociationProperty: ALIYUN::ECS::Instance::ZoneId + AssociationPropertyMetadata: + AutoSelectFirst: true + ExclusiveTo: + - Zone2 Zone2: Type: String Label: en: VSwitch Availability Zone2 zh-cn: 交换机可用区2 AssociationProperty: ALIYUN::ECS::Instance::ZoneId + AssociationPropertyMetadata: + AutoSelectFirst: true + ExclusiveTo: + - Zone1 EcsInstanceType: Type: String Label: @@ -326,7 +334,7 @@ Resources: cd server pip3 install --upgrade pip pip3 install -r requirements.txt - pip3 install uwsgi + pip3 install uwsgi==2.0.22 sed -i "s/socket=127.0.0.1:5000/http=0.0.0.0:8000/g" uwsgi.ini uwsgi uwsgi.ini Queue: