I were new to the Aliyun VPC ECS Instance. I didnt find any solutions for set up vpc and nginx configurations.
The following steps could help to setup the VPC network and nginx
1. Setup the security groups with VPC ECS Instances
Tcp/IP port 22 allow and priority 110 and ip address as 0.0.0.0/0 for allow public internet to vpc instances
ALL ICMP port -1/1 and priority 110 and ipaddress 0.0.0.0/0
custom port as yours and address 110 and ipaddress 0.0.0.0/0
Nginx configuration
server {
listen 127.0.0.1;
server_name localhost;
location /{
#your configurations goes here
}
}
Thanks and cheers.
Answers :
/etc/hosts
127.0.0.1 localhost
/etc/nginx/nginx.conf
the confgiruation need to mention as i mentioned above
if you have ANY problems related to Aliyun, my suggestion is to request official tech support directly on its control panel page.