阿里云服务器

2020-05-28  本文已影响0人  hellomyshadow
  1. 外网访问配置
    • 配置规则:出方向、入方向
    协议类型:自定义 TCP
    端口范围:8080/8080
    授权对象:0.0.0.0/0
    
    • 一定要把实例加入安全组,选择某个安全组,加入即可。
  2. nginx访问出现403 Forbidden
    // nginx.conf
    user  root;  // 用户权限配置
    //...
    http {
        server {
            listen       8080;
            server_name  xx.xxx.xxx.xx;
            location / {
                root   html;
                index  index.html index.htm;
            }
        }
        // ...
    }
    
上一篇 下一篇

猜你喜欢

热点阅读