bon j'aifinipar trouvé tout seul désormais tout seul correctement voilà ce que j'ai fais
voila le /etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
<IfModule ssl_module>
Listen 8448
</IfModule>
<IfModule mod_gnutls.c>
Listen 8448
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
voilà le vhost
<VirtualHost *:443>
servername matrix.exemple.fr
ServerAlias matrix.exemple.fr
Redirect permanent / https://matrix.exemple.fr
RewriteEngine off
#RewriteRule /login.view[/]?$ /login.view [R=permanent]
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/matrix.exemple.fr/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/matrix.exemple.fr/privkey.pem
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
ProxyRequests On
ProxyPreserveHost Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPassReverse / http://127.0.0.1:8008/ nocanon
ProxyPass / http://127.0.0.1:8008/ nocanon
</Virtualhost>
<VirtualHost *:8448>
SSLEngine on
ServerName matrix.exemple.fr;
ServerAlias matrix.exemple.fr
Redirect permanent / https://matrix.exemple.fr
SSLCertificateFile /etc/letsencrypt/live/matrix.freewebworld.fr/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/matrix.freewebworld.fr/privkey.pem
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
ProxyRequests On
ProxyPreserveHost Off
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPassReverse / http://127.0.0.1:8008/ nocanon
ProxyPass / http://127.0.0.1:8008/ nocanon
</VirtualHost>
<VirtualHost *:80>
ServerAlias matrix.exemple.fr
Redirect permanent / https://matrix.exemple.fr/
</Virtualhost>