From 53cf42ef61f78ed21c11755ab075ebf1986534c7 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 25 Jan 2020 23:33:26 +0100 Subject: [PATCH] add config file --- 999-main.conf | 5 +++++ Dockerfile | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 999-main.conf diff --git a/999-main.conf b/999-main.conf new file mode 100644 index 0000000..a2b4d73 --- /dev/null +++ b/999-main.conf @@ -0,0 +1,5 @@ + + Options Indexes FollowSymLinks MultiViews + AllowOverride All + Require all granted + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d44df2f..cfb895c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file