Updated httpd.conf
This commit is contained in:
parent
dc8b7be2b7
commit
aac6ba945b
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user