Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

50 рядки
1.6 KiB

  1. # Copy the location blocks into the existing HTTPS server block of the target OA domain.
  2. # Only enable the domain section that matches the current server.
  3. # production: oa.qbjjyyun.net
  4. # server_name oa.qbjjyyun.net;
  5. # cszxy: oa.educlouddata.com
  6. # server_name oa.educlouddata.com;
  7. # jpggx: oa.61gx.com
  8. # server_name oa.61gx.com;
  9. # nanping: oa.npzx.org.cn
  10. # server_name oa.npzx.org.cn;
  11. location ^~ /ws_webrtc_sfu_api/ {
  12. proxy_pass http://127.0.0.1:4443/;
  13. proxy_http_version 1.1;
  14. proxy_set_header Upgrade $http_upgrade;
  15. proxy_set_header Connection "upgrade";
  16. proxy_set_header Sec-WebSocket-Protocol $http_sec_websocket_protocol;
  17. proxy_set_header Host $host;
  18. proxy_set_header X-Real-IP $remote_addr;
  19. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  20. proxy_set_header X-Forwarded-Proto $scheme;
  21. proxy_read_timeout 86400;
  22. proxy_send_timeout 86400;
  23. proxy_buffering off;
  24. }
  25. location /sfu-healthz {
  26. proxy_pass http://127.0.0.1:4443/healthz;
  27. }
  28. # live/test only. Enable inside oa.live.educlouddata.com if this environment still uses _test.
  29. # location ^~ /ws_webrtc_sfu_api_test/ {
  30. # proxy_pass http://127.0.0.1:4443/;
  31. # proxy_http_version 1.1;
  32. # proxy_set_header Upgrade $http_upgrade;
  33. # proxy_set_header Connection "upgrade";
  34. # proxy_set_header Sec-WebSocket-Protocol $http_sec_websocket_protocol;
  35. # proxy_set_header Host $host;
  36. # proxy_set_header X-Real-IP $remote_addr;
  37. # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  38. # proxy_set_header X-Forwarded-Proto $scheme;
  39. # proxy_read_timeout 86400;
  40. # proxy_send_timeout 86400;
  41. # proxy_buffering off;
  42. # }