docs: remplace config Apache manuelle par ISPConfig

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.
This commit is contained in:
Alpinux 2026-05-03 17:59:58 +02:00
parent d4f125f2f6
commit 7ce689a966

View file

@ -103,23 +103,22 @@ sudo systemctl enable --now dynamic-alpinux
sudo systemctl status dynamic-alpinux sudo systemctl status dynamic-alpinux
``` ```
### 7. Configurer Apache ### 7. Configurer le site dans ISPConfig
```bash Dans **ISPConfig** (`https://owni.alpinux.org:8080`) :
sudo a2enmod proxy proxy_http headers ssl
sudo cp infra/dynamic/dynamic.alpinux.org.vhost.conf \ 1. *Sites → Ajouter un site web* — domaine `dynamic.alpinux.org`
/etc/apache2/sites-available/dynamic.alpinux.org.conf 2. Activer **Let's Encrypt SSL** dans l'onglet SSL
sudo a2ensite dynamic.alpinux.org 3. Dans *Options → Directives Apache personnalisées (HTTPS)*, ajouter :
sudo apachectl configtest
sudo systemctl reload apache2 ```apache
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:<port>/
ProxyPassReverse / http://127.0.0.1:<port>/
RequestHeader set X-Forwarded-Proto "https"
``` ```
### 8. Obtenir le certificat SSL ISPConfig gère le VirtualHost et le renouvellement automatique du certificat.
```bash
sudo certbot --apache -d dynamic.alpinux.org
```
--- ---