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 1006B

123456789101112131415161718192021222324252627282930313233343536373839
  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. gzip on;
  14. gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
  15. gzip_vary on;
  16. gzip_proxied no-cache no-store private expired auth;
  17. gzip_min_length 512;
  18. # BOSH
  19. location /http-bind {
  20. proxy_pass http://localhost:5280/http-bind;
  21. proxy_set_header X-Forwarded-For $remote_addr;
  22. proxy_set_header Host $http_host;
  23. }
  24. # xmpp websockets
  25. location /xmpp-websocket {
  26. proxy_pass http://localhost:5280/xmpp-websocket;
  27. proxy_http_version 1.1;
  28. proxy_set_header Upgrade $http_upgrade;
  29. proxy_set_header Connection "upgrade";
  30. proxy_set_header Host $host;
  31. tcp_nodelay on;
  32. }
  33. }