diff --git a/Dockerfile b/Dockerfile index ea0e4a7..30be3e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1.3-labs ARG version=2.4.48-alpine FROM httpd:$version @@ -11,7 +12,7 @@ COPY ./public_html/ /usr/local/apache2/htdocs/ COPY ./cert/srv.crt /usr/local/apache2/conf/ COPY ./cert/srv.key /usr/local/apache2/conf/ -# RUN ["sed", "-i", "-e", "'s/^#\(Include .*httpd-ssl.conf\)/\1/'", "-e", "'s/^#\(LoadModule .*mod_ssl.so\)/\1/'", "-e", "'s/^#\(LoadModule .*mod_socache_shmcb.so\)/\1/'", "conf/httpd.conf"] +#RUN sed -i -e 's/^#\(Include .*httpd-ssl.conf\)/\1/' -e 's/^#\(LoadModule .*mod_ssl.so\)/\1/' -e 's/^#\(LoadModule .*mod_socache_shmcb.so\)/\1/' conf/httpd.conf RUN rm /usr/local/apache2/conf/httpd.conf diff --git a/httpd.conf b/httpd.conf index 24e1711..670a195 100644 --- a/httpd.conf +++ b/httpd.conf @@ -358,7 +358,7 @@ LogLevel warn # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: - # Redirect permanent /foo http://www.example.com/bar + Redirect permanent / https://yaaaw.it # # Alias: Maps web paths into filesystem paths and is used to