A very simple and lightweight redirect gateway.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 474B

12345678910111213141516171819
  1. ARG APACHE_VERSION
  2. FROM httpd:${APACHE_VERSION}
  3. RUN apk update; \
  4. apk upgrade; \
  5. apk add apache2-utils;
  6. RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf
  7. RUN { \
  8. echo 'IncludeOptional conf.d/*.conf'; \
  9. } >> /usr/local/apache2/conf/httpd.conf \
  10. && mkdir /usr/local/apache2/conf.d
  11. COPY apache.conf /usr/local/apache2/conf/apache.conf
  12. RUN echo "Include /usr/local/apache2/conf/apache.conf" \
  13. >> /usr/local/apache2/conf/httpd.conf