diff --git a/Dockerfile b/Dockerfile index 3c7c698..660e6f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ RUN apt-get update && apt-get -y install apache2 ENV TZ=Europe/Paris RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone COPY apache2.conf /etc/apache2/ +COPY ports.conf /etc/apache2/ RUN a2enmod proxy_fcgi COPY fpm.conf /etc/apache2/sites-available/ RUN a2ensite fpm.conf diff --git a/fpm.conf b/fpm.conf index f9e4fc2..6dce0f1 100644 --- a/fpm.conf +++ b/fpm.conf @@ -1,4 +1,4 @@ - + ServerName ${SERVER_NAME} diff --git a/ports.conf b/ports.conf new file mode 100644 index 0000000..504214a --- /dev/null +++ b/ports.conf @@ -0,0 +1,15 @@ +# If you just change the port or add more ports here, you will likely also +# have to change the VirtualHost statement in +# /etc/apache2/sites-enabled/000-default.conf + +Listen ${APACHE_HTTP_PORT} + + + Listen ${APACHE_HTTPS_PORT} + + + + Listen ${APACHE_HTTPS_PORT} + + +# vim: syntax=apache ts=4 sw=4 sts=4 sr noet