Docker apache2 will not consider new 000-default.conf Docker apache2 will not consider new 000-default.conf apache apache

Docker apache2 will not consider new 000-default.conf


Apache does not look into the sites-available directory but rather in the sites-enabled directory.You can either ADD your config-file into the latter directory, or set up a symlink:

ADD ./settings/000-default.conf /etc/apache2/sites-availableRUN ln -s /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/000-default.conf