最近搜索

nginx 配置普通 的http 请求反向代理

浏览:436
管理员 2021-05-16 02:41


 server {
        listen       80;
        server_name  blog.java456.com;
        #charset koi8-r;
        #access_log  logs/host.access.log  main;
        location / {
            proxy_pass   http://127.0.0.1:8081;
            index  index.html index.htm;
	    client_max_body_size     50m; 
        }
}




image.png

联系站长

站长微信:xiaomao0055

站长QQ:14496453