2
0

default 750 B

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