3
我有負載均衡器和VM與rabbitmq經紀人。在RabbitMQ的開放5672端口插件同治如果我創建代理的RabbitMQ reciveRabbitMQ管理Nginx代理
捲曲:(52)空從服務器應答
我可以通過telnet到RMQ服務器連接和具有回調
捲曲:(56)的Recv失敗:連接由對等
復位
Nginx的配置
server {
listen xxx.xxx.xxx.yy:80;
server_name xxxxxxxxxx
access_log acces.log;
error_log error.log;
location/{
client_body_buffer_size 128k;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_connect_timeout 30s;
proxy_pass http://xxx.xxx.xxx.xx:5672;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
感謝的人。它爲我工作:) – BlaShadow