发表于: 2021-12-14 21:42:59

1 1079


今天完成的事情:

在师兄的帮助下,用nginx反向代理
明天计划的事情:

明天看看反向代理知识点,和JS知识点,争取提交任务五
遇到的问题:

反向代理没有掌握,js基础不牢固
收获:

nginx反向代理查看我的网页,还是不太熟练,明天继续研究

 server {
        listen       80;
        server_name  localhost;

        location / {
            root   G:\\task\\task5;
            index  index.html index.htm;
            try_files $uri $uri/ /index.html =404;
        }

        error_page   500 502 503 504  /50x.html;
        location /a/{
            proxy_pass http://dev.admin.carrots.ptteng.com;
        }
    }

 


返回列表 返回列表
评论

    分享到