美文网首页
阿里云服务器

阿里云服务器

作者: hellomyshadow | 来源:发表于2020-05-28 13:35 被阅读0次
  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;
            }
        }
        // ...
    }
    

相关文章

网友评论

      本文标题:阿里云服务器

      本文链接:https://www.haomeiwen.com/subject/psooahtx.html