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.

nginx-jaas.conf 945B

1234567891011121314151617181920212223
  1. include /etc/jitsi/meet/jaas/jaas-vars;
  2. location = /jaas-jwt {
  3. include /etc/jitsi/token-generator/daily-key;
  4. ssi on;
  5. proxy_method POST;
  6. proxy_set_header content-type "application/json";
  7. proxy_set_header Accept-Encoding "";
  8. proxy_set_header Authorization "Bearer $jaas_asap_key";
  9. proxy_pass_request_body off;
  10. proxy_set_body '{"sub":"jaas_magic_cookie","context":{"features":{"livestreaming":false,"outbound-call":false,"sip-outbound-call":false,"transcription":false,"recording":false},"user":{"moderator":true}},"room": "$roomname"}';
  11. proxy_pass http://127.0.0.1:8017/generate/client?e2eeKey=true;
  12. }
  13. location @magic_root_path {
  14. rewrite ^/(.*)$ /index.html break;
  15. }
  16. # Anything that didn't match above, and isn't a real file, assume it's a room name and redirect to /
  17. location ~ ^/jaas_magic_cookie/(.*)$ {
  18. set $subdomain "jaas_magic_cookie.";
  19. set $subdir "jaas_magic_cookie/";
  20. try_files $1 @magic_root_path;
  21. }