首页 > 系统相关 >nginx 配置服务端地址

nginx 配置服务端地址

时间:2022-12-22 13:35:24浏览次数:34  
标签:index log top html access nginx 地址 api 服务端

    server {
        listen       8099;
        server_name lianghj.top;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

         location /api{
                proxy_pass https://lianghj.top:8888/api/private/v1;
        }


        location / {
            root   html;
            index  index.html index.htm;
        }

 

标签:index,log,top,html,access,nginx,地址,api,服务端
From: https://www.cnblogs.com/wutongxiaoyuyear/p/16998347.html

相关文章