Score:0

nginx config for mirror nor working

mp flag

i want mirror some websocket requst to port 7000 but this config not wrorking, i dont know what's reasson.

worker_processes 1;
events {
    worker_connections 1024;
}
http { 
    server {
        listen 5000;
        server_name ws.serverlab.ca;

        location / {
            mirror /mirror;
            proxy_pass http://something//;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_read_timeout 86400;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $host;
        }
        location /mirror {
            proxy_pass http://127.0.0.1:7000/;
        }
    }
}
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.