Răsfoiți Sursa

Update use-attu-behind-proxy.md (#912)

removed the instruction to reroute socket.io request as it's now respecting the HOST_URL
Akshay Chordia 2 luni în urmă
părinte
comite
9b62433cbb
1 a modificat fișierele cu 0 adăugiri și 10 ștergeri
  1. 0 10
      doc/use-attu-behind-proxy.md

+ 0 - 10
doc/use-attu-behind-proxy.md

@@ -42,16 +42,6 @@ server {
     proxy_set_header X-Forwarded-Proto $scheme;
   }
 
-  location /socket.io/ {
-    proxy_pass http://localhost:3000/socket.io/;
-    proxy_http_version 1.1;
-    proxy_set_header Upgrade $http_upgrade;
-    proxy_set_header Connection "Upgrade";
-    proxy_set_header Host $host;
-    proxy_set_header X-Real-IP $remote_addr;
-    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-    proxy_set_header X-Forwarded-Proto $scheme;
-  }
 }
 ```