Salut @stephdl,
Here is the working configuration file: /etc/httpd/conf.d/ab_jitsi-meet.conf
.
I tried it with Firefox and Chrome. To make sure it’s working from the Internet, I tried it with TOR as toto.org is running as a LOCAL VM.
- http://meet.toto.org
- https://meet.toto.org
- http://meet.toto.org:8443
- https://meet.toto.org:8443
- http://meet.toto.org/test
-
https://meet.toto.org/test
# ================= Jitsi Meet =================
# Michel-André // 2021-05-11 @ 15h01 HAE
#
# As suggested by Stéphane, it comes from a VHOST "meet".
# 1) Create the VHOST meet (in Server Manager 980).
# 2) Copy /etc/httpd/conf.d/meet.conf to /etc/httpd/conf.d/ab_jitsi-meet.conf.
# 3) Delete the VHOST.
# 4) Edit the ab_jitsi-meet.conf:
# Delete the beginning of the file, etc... as they're not needed.
# Move the 80 part to the beginning of the file as it's more "normal".
# Ajust the FQDN of the site.
# Comment the line " RewriteCond %{HTTPS} !=on " in the 443 section.
# 5) Restarted httpd.
# 6) Voilà, total victory!
#
<VirtualHost *:80>
ServerName meet.toto.org
# Start Rewrite Engine
RewriteEngine On
# forcessl_redirect
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://meet.toto.org:8443$1 [R,L]
# Reverse Proxy (with exclusion of local Letsencrypt challenge path)
ProxyPassMatch ^/.well-known/acme-challenge/ !
ProxyPass / https://meet.toto.org:8443/ max=3 retry=30
ProxyPassReverse / https://meet.toto.org:8443/
ProxyPreserveHost On
<Location "/">
<RequireAll>
Require all granted
</RequireAll>
</Location>
</VirtualHost>
<VirtualHost *:443>
ServerName meet.toto.org
# Start Rewrite Engine
RewriteEngine On
# forcessl_redirect
##### RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://meet.toto.org:8443$1 [R,L]
#20ssl_engine
SSLEngine On
SSLProxyEngine On
# Reverse Proxy (with exclusion of local Letsencrypt challenge path)
ProxyPassMatch ^/.well-known/acme-challenge/ !
ProxyPass / https://meet.toto.org:8443/ max=3 retry=30
ProxyPassReverse / https://meet.toto.org:8443/
ProxyPreserveHost On
<Location "/">
<RequireAll>
Require all granted
</RequireAll>
</Location>
</VirtualHost>
Stéphane: Je t’ajoute un ange et une étoile sur ma liste “The Greatest”
Michel-André