correction des fichiers de configuration du frontend
This commit is contained in:
@@ -1,15 +1,4 @@
|
||||
Listen 80
|
||||
|
||||
<VirtualHost *:80>
|
||||
# The ServerName directive sets the request scheme, hostname and port that
|
||||
# the server uses to identify itself. This is used when creating
|
||||
# redirection URLs. In the context of virtual hosts, the ServerName
|
||||
# specifies what hostname must appear in the request's Host: header to
|
||||
# match this virtual host. For the default virtual host (this file) this
|
||||
# value is not decisive as it is used as a last resort host regardless.
|
||||
# However, you must set it for any further virtual host explicitly.
|
||||
#ServerName www.example.com
|
||||
|
||||
ServerAdmin vincent.benoit@benserv.fr
|
||||
DocumentRoot /var/www/app-configurateur
|
||||
<Directory /var/www/app-configurateur/*>
|
||||
|
||||
@@ -15,7 +15,11 @@ user="root"
|
||||
/usr/sbin/a2enmod proxy > /dev/null 2>&1
|
||||
/usr/sbin/a2enmod proxy_http > /dev/null 2>&1
|
||||
/usr/sbin/a2enmod rewrite > /dev/null 2>&1
|
||||
/usr/sbin/a2enmod ssl > /dev/null 2>&1
|
||||
#/usr/sbin/a2enmod ssl > /dev/null 2>&1
|
||||
/usr/sbin/a2ensite 010-configurateur.conf > /dev/null 2>&1
|
||||
|
||||
# Test if symlink exist
|
||||
if [ -h /etc/apache2/sites-enabled/000-default.conf ]; then
|
||||
/usr/sbin/a2dissite 000-default
|
||||
fi
|
||||
/usr/bin/systemctl restart apache2 > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user