暫無描述
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.

etc_apache2_sites-available_jitsi.j2 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <VirtualHost *:80>
  2. ServerName {{ jitsi_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ jitsi_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ jitsi_subdomain }}.{{ item.name }}
  7. # enable HTTP/2, if available
  8. Protocols h2 http/1.1
  9. SSLEngine On
  10. SSLProxyEngine On
  11. Header always set Strict-Transport-Security "max-age=63072000"
  12. DocumentRoot "/usr/share/jitsi-meet"
  13. <Directory "/usr/share/jitsi-meet">
  14. Options Indexes MultiViews Includes FollowSymLinks
  15. AddOutputFilter Includes html
  16. AllowOverride All
  17. Order allow,deny
  18. Allow from all
  19. </Directory>
  20. ErrorDocument 404 /static/404.html
  21. Alias "/config.js" "/etc/jitsi/meet/{{ jitsi_domain }}-config.js"
  22. <Location /config.js>
  23. Require all granted
  24. </Location>
  25. Alias "/external_api.js" "/usr/share/jitsi-meet/libs/external_api.min.js"
  26. <Location /external_api.js>
  27. Require all granted
  28. </Location>
  29. ProxyPreserveHost on
  30. ProxyPass /http-bind http://localhost:5280/http-bind
  31. ProxyPassReverse /http-bind http://localhost:5280/http-bind
  32. ProxyPass /xmpp-websocket ws://localhost:5280/xmpp-websocket
  33. ProxyPassReverse /xmpp-websocket ws://localhost:5280/xmpp-websocket
  34. ProxyPass /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id
  35. ProxyPassReverse /colibri-ws/default-id ws://localhost:9090/colibri-ws/default-id
  36. RewriteEngine on
  37. RewriteRule ^/([a-zA-Z0-9]+)$ /index.html
  38. LogLevel warn
  39. ErrorLog /var/log/apache2/jitsi.info-error_log
  40. CustomLog /var/log/apache2/jitsi.info-access_log common
  41. </VirtualHost>