"Ajout expl_create_vhost.sh"

This commit is contained in:
2017-07-22 09:15:38 +02:00
parent 4aa8e9642f
commit ac1f00a9df
7 changed files with 308 additions and 1 deletions

13
mod/backend_template.conf Normal file
View File

@@ -0,0 +1,13 @@
<VirtualHost SITE_IP:SITE_PORT>
ServerName SITE_NAME
ServerAdmin bofh@tetalab.org
DocumentRoot /var/www/SITE_NAME
RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy 192.168.122.0/24
<Directory /var/www/SITE_NAME>
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/httpd/SITE_NAME.error.log
CustomLog /var/log/httpd/SITE_NAME.access.log combined
</VirtualHost>