"Ajout expl_create_vhost.sh"
This commit is contained in:
13
mod/backend_template.conf
Normal file
13
mod/backend_template.conf
Normal 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>
|
||||
Reference in New Issue
Block a user