https://www.yuque.com/lgni6q/wdg34y/lzbbwr
先看我的域名解析 必须阿里云先 配置域名解析 在配置ip时指定到代理ip (nginx的)

原来的网站 类似于这个 http://115.29.206.208:82/ 加端口号可以直接访问 可以访问放一边

来到nginx

server
{
    listen 80;
  
    server_name ichaoyue.com.cn  www.ichaoyue.com.cn;


    index app.php index.html index.php;


    #error_page   404   /404.html;



    location / {
    
        #反向代理
        proxy_pass http://115.29.206.208:82;  
  
        }





    access_log  /home/wwwlogs/eduapp.log;
}

nginx 反向代理

相关文章:

  • 2022-02-25
  • 2021-05-29
  • 2021-09-21
猜你喜欢
  • 2021-08-29
  • 2021-09-22
  • 2018-12-22
  • 2019-05-22
相关资源
相似解决方案