Added Apache2 role
This commit is contained in:
16
training/practica-3-roles/apache2/files/hosts.conf
Normal file
16
training/practica-3-roles/apache2/files/hosts.conf
Normal 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>
|
||||
Reference in New Issue
Block a user