nginx配置

#user  nobody;
worker_processes  4;

#error_log  logs/error.log;

#pid        logs/nginx.pid;

events {
    use epoll;
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    keepalive_timeout  60;
    
    server {
        listen       8089;
        server_name  x.a.com;

        location / {
            proxy_pass http://x.b.com;
        }

    }

}

 

posted @ 2021-06-28 18:51  TIMLONG  阅读(31)  评论(0编辑  收藏  举报