您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

jitsi.example.com.example 761B

123456789101112131415161718192021222324252627282930313233
  1. server {
  2. listen 80;
  3. server_name jitsi.example.com;
  4. # set the root
  5. root /srv/jitsi.example.com;
  6. index index.html;
  7. location ~ ^/([a-zA-Z0-9=\?]+)$ {
  8. rewrite ^/(.*)$ / break;
  9. }
  10. location / {
  11. ssi on;
  12. }
  13. # BOSH
  14. location /http-bind {
  15. proxy_pass http://localhost:5280/http-bind;
  16. proxy_set_header X-Forwarded-For $remote_addr;
  17. proxy_set_header Host $http_host;
  18. }
  19. # xmpp websockets
  20. location /xmpp-websocket {
  21. proxy_pass http://localhost:5280/xmpp-websocket;
  22. proxy_http_version 1.1;
  23. proxy_set_header Upgrade $http_upgrade;
  24. proxy_set_header Connection "upgrade";
  25. proxy_set_header Host $host;
  26. tcp_nodelay on;
  27. }
  28. }