From 7ce689a966267ce37042e6db37c74db74bbea35c Mon Sep 17 00:00:00 2001 From: Alpinux Date: Sun, 3 May 2026 17:59:58 +0200 Subject: [PATCH] docs: remplace config Apache manuelle par ISPConfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Les vhosts, SSL et certificats sont gérés via ISPConfig (owni.alpinux.org:8080). Supprime les références à a2ensite, certbot et la copie manuelle de vhost.conf. --- docs/technique/deploiement-dynamic.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/technique/deploiement-dynamic.md b/docs/technique/deploiement-dynamic.md index 24612b1..6b75ff8 100644 --- a/docs/technique/deploiement-dynamic.md +++ b/docs/technique/deploiement-dynamic.md @@ -103,23 +103,22 @@ sudo systemctl enable --now dynamic-alpinux sudo systemctl status dynamic-alpinux ``` -### 7. Configurer Apache +### 7. Configurer le site dans ISPConfig -```bash -sudo a2enmod proxy proxy_http headers ssl +Dans **ISPConfig** (`https://owni.alpinux.org:8080`) : -sudo cp infra/dynamic/dynamic.alpinux.org.vhost.conf \ - /etc/apache2/sites-available/dynamic.alpinux.org.conf -sudo a2ensite dynamic.alpinux.org -sudo apachectl configtest -sudo systemctl reload apache2 +1. *Sites → Ajouter un site web* — domaine `dynamic.alpinux.org` +2. Activer **Let's Encrypt SSL** dans l'onglet SSL +3. Dans *Options → Directives Apache personnalisées (HTTPS)*, ajouter : + +```apache +ProxyPreserveHost On +ProxyPass / http://127.0.0.1:/ +ProxyPassReverse / http://127.0.0.1:/ +RequestHeader set X-Forwarded-Proto "https" ``` -### 8. Obtenir le certificat SSL - -```bash -sudo certbot --apache -d dynamic.alpinux.org -``` +ISPConfig gère le VirtualHost et le renouvellement automatique du certificat. ---