Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted Allow from all ServerName lockhome.nrocher.fr ServerAdmin nathan.rocher@etu.univ-nantes.fr DocumentRoot /home/lockhome/lockhome RewriteEngine on RewriteCond %{SERVER_NAME} =lockhome.nrocher.fr RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] ServerName lockhome.nrocher.fr ServerAdmin nathan.rocher@etu.univ-nantes.fr DocumentRoot /home/lockhome/lockhome ProxyRequests on ProxyPassMatch "^/camera/stream/(.*)" "http://$1/" SSLCertificateFile /etc/letsencrypt/live/phpmyadmin.nrocher.fr/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/phpmyadmin.nrocher.fr/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf