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;
        }

    }

}

 

上一篇:RabbitMQ发布订阅


下一篇:python模块与包,序列化,yaml,加密,logs