Updated httpd.conf

This commit is contained in:
Andrea 2021-09-04 18:08:20 +02:00
parent dc8b7be2b7
commit aac6ba945b
No known key found for this signature in database
GPG Key ID: D6B0878B0B161802
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1.3-labs
ARG version=2.4.48-alpine ARG version=2.4.48-alpine
FROM httpd:$version 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.crt /usr/local/apache2/conf/
COPY ./cert/srv.key /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 RUN rm /usr/local/apache2/conf/httpd.conf

View File

@ -358,7 +358,7 @@ LogLevel warn
# exist in your server's namespace, but do not anymore. The client # exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location. # will make a new request for the document at its new location.
# Example: # 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 # Alias: Maps web paths into filesystem paths and is used to