Skip to content

Commit

Permalink
Use prefork for Apache
Browse files Browse the repository at this point in the history
  • Loading branch information
janole committed Jan 19, 2024
1 parent 8f7d912 commit 27dee16
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ RUN true \
&& sed -i "s/#LoadModule rewrite_module/LoadModule rewrite_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule proxy_module/LoadModule proxy_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule proxy_http_module/LoadModule proxy_http_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule ssl_module/LoadModule ssl_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/#LoadModule mpm_prefork_module/LoadModule mpm_prefork_module/" /usr/local/apache2/conf/httpd.conf \
&& sed -i "s/LoadModule mpm_event_module/#LoadModule mpm_event_module/" /usr/local/apache2/conf/httpd.conf \
#
#
#
&& echo "SSLProxyEngine on" >> /usr/local/apache2/conf/httpd.conf \
#
&& true

COPY ./build /usr/local/apache2/htdocs/

0 comments on commit 27dee16

Please sign in to comment.