Nginx reverse proxy using the web interface RabbitMQ

Directly attached to the nginx conf configuration:

server {
    listen    80;
    server_name www.xxxxx.com;

    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://localhost:15672;
        proxy_set_header   Host   $host;
        proxy_set_header   X-Real-IP  $remote_addr;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    }
}

Guess you like

Origin www.cnblogs.com/sanduzxcvbnm/p/12583705.html