Revert "Add apache conf file for specific virtualhost ServerName"

This commit is contained in:
Mahmoud Zalt
2017-03-16 14:40:45 -04:00
committed by GitHub
parent 1cf5bcde62
commit 1d6583e97e
5 changed files with 18 additions and 47 deletions

View File

@ -15,6 +15,3 @@ WORKDIR /var/www/public
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
CMD ["supervisord"]
# Update the default apache site with the config we created.
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf

View File

@ -1,16 +0,0 @@
<VirtualHost *:$WEB_SERVER_PORT>
ServerAdmin me@mydomain.com
DocumentRoot ${WEB_DOCUMENT_ROOT}
ServerName ${SERVER_ALIAS}
<Directory ${WEB_DOCUMENT_ROOT}>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>