add config file

This commit is contained in:
Christopher 2020-01-25 23:33:26 +01:00
parent c9b0f5fa4d
commit 53cf42ef61
2 changed files with 7 additions and 0 deletions

5
999-main.conf Normal file
View File

@ -0,0 +1,5 @@
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>

View File

@ -13,6 +13,8 @@ ENV APACHE_LOG_DIR /tmp
ENV APACHE_RUN_DIR .
ENV APACHE_PID_FILE /tmp/apache.pid
COPY 999-main.conf /etc/apache2/conf-enabled/999-main.conf
EXPOSE 80
CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]