- Add apache conf file for specific virtualhost ServerName
This commit is contained in:
parent
9cb902a819
commit
4947dfaad1
@ -15,3 +15,6 @@ WORKDIR /var/www/public
|
|||||||
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
|
ENTRYPOINT ["/opt/docker/bin/entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["supervisord"]
|
CMD ["supervisord"]
|
||||||
|
|
||||||
|
# Update the default apache site with the config we created.
|
||||||
|
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf
|
16
apache2/apache-config.conf
Normal file
16
apache2/apache-config.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<VirtualHost *:8888>
|
||||||
|
ServerAdmin me@mydomain.com
|
||||||
|
DocumentRoot /var/www/site
|
||||||
|
ServerName local.mydomain.com
|
||||||
|
|
||||||
|
<Directory /var/www/site/>
|
||||||
|
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>
|
Loading…
Reference in New Issue
Block a user