Help with NGINX Reverse Proxy for AR/VR Application Hosting

Help with NGINX Reverse Proxy for AR/VR Application Hosting

Hello NGINX Community,

I am working on hosting an AR/VR application for Simulanis Solutions Pvt. Ltd., a company specializing in Metaverse, VR, AR, and MR solutions. We are using NGINX as a reverse proxy to manage multiple services, but we are facing issues with:

  1. WebSocket connections breaking intermittently in VR applications.
  2. SSL/TLS configuration for secure access to our immersive training platform.
  3. Load balancing between multiple VR/AR services to optimize performance.
  4. CORS issues when trying to serve WebXR content across different domains.

NGINX Configuration (Simplified Version):

server {  
    listen 443 ssl;  
    server_name mydomain.com;  

    ssl_certificate /etc/nginx/ssl/fullchain.pem;  
    ssl_certificate_key /etc/nginx/ssl/privkey.pem;  

    location /vr-app/ {  
        proxy_pass http://localhost:8080/;  
        proxy_set_header Host $host;  
        proxy_set_header X-Real-IP $remote_addr;  
        proxy_set_header Upgrade $http_upgrade;  
        proxy_set_header Connection "Upgrade";  
    }  
}

Moved to the Troubleshooting category.

Can you share more about the issues that you are seeing? One thing you will want to add to the proxy_pass configuration for websockets is to set proxy_http_version 1.1; in the location /vr-app/ block. That could be causing the intermittent connection issues, but more context would be helpful to pinpoint any additional issues.

Archiving due to inactivity

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.