Outils pour utilisateurs

Outils du site


linux:apache_php_mariadb_ssl_letsencrypt

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

linux:apache_php_mariadb_ssl_letsencrypt [2018/02/15 20:46] – [Let's Encrypt et CertBot] gdureuillinux:apache_php_mariadb_ssl_letsencrypt [2020/07/24 22:03] (Version actuelle) – modification externe 127.0.0.1
Ligne 36: Ligne 36:
 ===== Configuration de MariaDB ===== ===== Configuration de MariaDB =====
  
-La commande suivante est recommandée en environnement de production. Elle permet de sécuriser l'installation de MariaDB.+La commande suivante est recommandée en environnement de production. Elle permet de sécuriser un minimum l'installation de MariaDB.
  
 <sxh bash;> <sxh bash;>
Ligne 180: Ligne 180:
  
 <WRAP center important 100%> <WRAP center important 100%>
-Cet exemple de vhost est pour apache 2.4 ! Il contiens une partie HTTP et une partie HTTPS (facultative). N'ajoutez que le nécessaire.+Cet exemple de vhost est pour apache 2.4 en HTTP ! Voir La section sur Let's Encrypt pour HTTPS.
 </WRAP> </WRAP>
  
Ligne 218: Ligne 218:
 La ligne commentée ''Redirect'' forcera l'utilisation de HTTPS. La décommenter quand HTTPS sera configuré et son fonctionnement validé. La ligne commentée ''Redirect'' forcera l'utilisation de HTTPS. La décommenter quand HTTPS sera configuré et son fonctionnement validé.
  
-Copier ou rendre le vhost disponible dans ''/etc/apache2/sites-available/www.domain.info.conf'' :+Copier ou rendre le vhost disponible dans ''/etc/apache2/sites-available/www.domain.info.conf''. Ici on fait un lien symbolique :
  
 <sxh bash;> <sxh bash;>
Ligne 224: Ligne 224:
 </sxh> </sxh>
  
-Puis :+Donnez les bons droits sur le fichier de configuration pour Apache 2 : 
 + 
 +<sxh bash;> 
 +chown www-data:www-data /home/www-data/domain.info/www.domain.info.conf 
 +</sxh> 
 + 
 +Puis activer cette configuration :
  
 <sxh bash;> <sxh bash;>
linux/apache_php_mariadb_ssl_letsencrypt.1518727617.txt.gz · Dernière modification : 2020/07/24 22:03 (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki