2
0

default 677 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. server {
  2. listen 80 default_server;
  3. listen 443 ssl;
  4. ssl_certificate /config/keys/cert.crt;
  5. ssl_certificate_key /config/keys/cert.key;
  6. server_name _;
  7. client_max_body_size 0;
  8. root /usr/share/jitsi-meet;
  9. index index.html
  10. error_page 404 /static/404.html;
  11. location ~ ^/([a-zA-Z0-9=\?]+)$ {
  12. rewrite ^/(.*)$ / break;
  13. }
  14. location /config.js {
  15. alias /config/config.js;
  16. }
  17. location /interface_config.js {
  18. alias /config/interface_config.js;
  19. }
  20. location / {
  21. ssi on;
  22. }
  23. # BOSH
  24. location /http-bind {
  25. proxy_pass ${XMPP_BOSH_URL_BASE}/http-bind;
  26. proxy_set_header X-Forwarded-For $remote_addr;
  27. proxy_set_header Host ${XMPP_DOMAIN};
  28. }
  29. }