When unicloud configures a website custom domain name, it prompts that the protocol and port corresponding to the domain name are not connected to the Alibaba Cloud Web Application Firewall solution.

Tips for configuring a custom domain name for the unicloud website: The protocol and port corresponding to this domain name are not connected to the Alibaba Cloud Web Application Firewall

Configure domain name

Insert image description here
Note: Domain name resolution CNAME is not the default domain name resolution. After adding the domain name, you need to wait for unicloud to generate the CNAME and then go to the DNS resolution service provider to configure it.

There is a problem

I configured a custom domain name according to the official uniapp domain name configuration tutorial. When I opened the page, I found a prompt: The protocol and port corresponding to the domain name are not connected to the Alibaba Cloud Web Application Firewall.
Insert image description here

solution

Click Alibaba Cloud Web Application Firewall Console to activate the WAF service and configure related information.

Access management

Insert image description here

Access now

Insert image description here
Insert image description here
Note: CNAME fills in the CNAME value in the unicloud configuration domain name, 不是unicloud的默认域名.
Insert image description here
After submission, go to the console of the DNS resolution service provider where the website is located to resolve the CNAME address provided by the WAF to take effect.

Guess you like

Origin blog.csdn.net/icjs_cc/article/details/132077111
Recommended