Raja2017 2017-11-20 03:16 采纳率: 0%
浏览 781

How to setup VPC Network with Aliyun ECS and Nginx

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.

  • 写回答

2条回答 默认 最新

  • Raja2017 2017-11-20 03:17
    关注

    Answers :

    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 } }

    /etc/hosts
    127.0.0.1 localhost

    /etc/nginx/nginx.conf

    the confgiruation need to mention as i mentioned above

    评论

报告相同问题?

悬赏问题

  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 关于无人驾驶的航向角
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了