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.

jitmeet.example.com.example 705B

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