You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jitsi.example.com.example 743B

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;
  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. }