Updated httpd.conf
This commit is contained in:
@@ -11,8 +11,10 @@ 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
|
||||
|
||||
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
|
||||
|
||||
EXPOSE 443/tcp
|
||||
|
||||
EXPOSE 80/tcp
|
||||
|
Reference in New Issue
Block a user