Jitsi Meet on FreeBSD with Apache

The ports needed to deploy a Jitsi Meet service using a FreeBSD platform is now available to install from the ports tree.

If your curious to see how we got here, take a look at the Jitsi forum. There's some information on how to get a basic setup running.

Since then a few FreeBSD users have stepped up to create really great installation guides. (if I missed your guide, feel free to send me a note to add it)

NOTE: Almost all of these guides use NGINX as the webserver.

I'll soon be creating a Devops style guide of my own, but using Apache instead. Additionally I'll also have a guide for an HA setup using HA proxy. Until thats done and tested here's the required Apache Vhost config to get it working:

<VirtualHost *:80>
    ServerName meet.ent.domain.tld
    Redirect permanent / https://meet.ent.domain.tld/
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Listen 443
<VirtualHost *:443>

  ServerName meet.ent.domain.tld

  SSLProtocol TLSv1 TLSv1.1 TLSv1.2
  SSLEngine on
  SSLProxyEngine on
  SSLCertificateFile /usr/local/etc/ssl/ent.domain.tld.cert.pem
  SSLCertificateKeyFile /usr/local/etc/ssl/ent.domain.tld.key.pem
  SSLHonorCipherOrder on
  Header set Strict-Transport-Security "max-age=31536000"

  DocumentRoot "/usr/local/www/jitsi-meet"
  <Directory "/usr/local/www/jitsi-meet">
    Options Indexes MultiViews Includes FollowSymLinks
    AddOutputFilter Includes html
    AllowOverride All
    Require all granted

  ErrorDocument 404 /static/404.html

  Alias "/config.js" "/usr/local/www/jitsi-meet/config.js"
  <Location /config.js>
    Require all granted

  Alias "/external_api.js" "/usr/local/www/jitsi-meet/libs/external_api.min.js"
  <Location /external_api.js>
    Require all granted

  ProxyPreserveHost on
  ProxyPass /http-bind http://localhost:5280/http-bind/
  ProxyPassReverse /http-bind http://localhost:5280/http-bind/

  RewriteEngine on
  RewriteRule ^/([a-zA-Z0-9]+)$ /index.html

PacyWorld Button
Powered by Pacy