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-meet.example 940B

123456789101112131415161718192021222324252627282930313233343536
  1. server {
  2. listen 80;
  3. server_name jitsi-meet.example.com;
  4. return 301 https://$host$request_uri;
  5. }
  6. server {
  7. listen 443 ssl;
  8. server_name jitsi-meet.example.com;
  9. ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;
  10. ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key;
  11. root /srv/web/jitsi-meet;
  12. index index.html index.htm;
  13. location ~ ^/([a-zA-Z0-9]+)$ {
  14. rewrite ^/(.*)$ / break;
  15. }
  16. # BOSH
  17. location /http-bind {
  18. proxy_pass http://localhost:5280/http-bind;
  19. proxy_set_header X-Forwarded-For $remote_addr;
  20. proxy_set_header Host $http_host;
  21. }
  22. # xmpp websockets
  23. location /xmpp-websocket {
  24. proxy_pass http://localhost:5280;
  25. proxy_http_version 1.1;
  26. proxy_set_header Upgrade $http_upgrade;
  27. proxy_set_header Connection "upgrade";
  28. proxy_set_header Host $host;
  29. tcp_nodelay on;
  30. }
  31. }