2016-11-30 05:11:15 +00:00
|
|
|
|
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerName jitsi-meet.example.com
|
|
|
|
Redirect permanent / https://jitsi-meet.example.com/
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{HTTPS} off
|
|
|
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
<VirtualHost *:443>
|
|
|
|
|
|
|
|
ServerName jitsi-meet.example.com
|
|
|
|
|
|
|
|
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
|
|
|
|
SSLEngine on
|
|
|
|
SSLProxyEngine on
|
|
|
|
SSLCertificateFile /etc/jitsi/meet/jitsi-meet.example.com.crt
|
|
|
|
SSLCertificateKeyFile /etc/jitsi/meet/jitsi-meet.example.com.key
|
|
|
|
SSLCipherSuite "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA256:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EDH+aRSA+AESGCM:EDH+aRSA+SHA256:EDH+aRSA:EECDH:!aNULL:!eNULL:!MEDIUM:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED"
|
|
|
|
SSLHonorCipherOrder on
|
|
|
|
Header set Strict-Transport-Security "max-age=31536000"
|
|
|
|
|
|
|
|
DocumentRoot "/usr/share/jitsi-meet"
|
|
|
|
<Directory "/usr/share/jitsi-meet">
|
|
|
|
Options Indexes MultiViews Includes FollowSymLinks
|
|
|
|
AddOutputFilter Includes html
|
|
|
|
AllowOverride All
|
|
|
|
Order allow,deny
|
|
|
|
Allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2017-03-20 21:05:11 +00:00
|
|
|
ErrorDocument 404 /static/404.html
|
|
|
|
|
2016-11-30 05:11:15 +00:00
|
|
|
Alias "/config.js" "/etc/jitsi/meet/jitsi-meet.example.com-config.js"
|
|
|
|
<Location /config.js>
|
|
|
|
Require all granted
|
|
|
|
</Location>
|
|
|
|
|
2019-04-23 16:36:33 +00:00
|
|
|
Alias "/external_api.js" "/usr/share/jitsi-meet/libs/external_api.min.js"
|
|
|
|
<Location /external_api.js>
|
|
|
|
Require all granted
|
|
|
|
</Location>
|
|
|
|
|
2016-11-30 05:11:15 +00:00
|
|
|
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
|
|
|
|
</VirtualHost>
|