Added Apache2 role

This commit is contained in:
Guillem Hernandez Sola
2025-06-18 10:58:24 +02:00
parent 2cbcad9dfb
commit 704b7a721c
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<VirtualHost *:80>
ServerAdmin webmaster@exemple.com
ServerName exemple.com
ServerAlias www.exemple.com
DocumentRoot /var/www/exemple.com/public_html
ErrorLog ${APACHE_LOG_DIR}/exemple.com_error.log
CustomLog ${APACHE_LOG_DIR}/exemple.com_access.log combined
<Directory /var/www/exemple.com/public_html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>