From 767756bca4cab808887c0260542c94beef5207d6 Mon Sep 17 00:00:00 2001 From: sylvain Date: Wed, 14 May 2025 18:07:02 +0000 Subject: [PATCH] Ajouter container_apache.conf --- container_apache.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 container_apache.conf diff --git a/container_apache.conf b/container_apache.conf new file mode 100644 index 0000000..a71cbb3 --- /dev/null +++ b/container_apache.conf @@ -0,0 +1,21 @@ + + ServerName {{DOMAIN}} + Redirect permanent / https://{{DOMAIN}}/ + + + + ServerName {{DOMAIN}} + + DocumentRoot /var/www/html + + AllowOverride All + Require all granted + + + SSLEngine on + SSLCertificateFile /etc/ssl/certs/{{DOMAIN}}.crt + SSLCertificateKeyFile /etc/ssl/private/{{DOMAIN}}.key + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined +