Add Apache module config to readme/docker

This commit is contained in:
Alex Cabal 2022-07-11 11:10:52 -05:00
parent c95d8c4954
commit 04b5000de7
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ echo -e "127.0.0.1\tstandardebooks.test" | sudo tee -a /etc/hosts
openssl req -x509 -nodes -days 99999 -newkey rsa:4096 -subj "/CN=standardebooks.test" -keyout /standardebooks.org/web/config/ssl/standardebooks.test.key -sha256 -out /standardebooks.org/web/config/ssl/standardebooks.test.crt
# Enable the necessary Apache modules.
sudo a2enmod headers expires ssl rewrite proxy proxy_fcgi authn_dbd xsendfile
sudo a2enmod headers expires ssl rewrite proxy proxy_fcgi authn_dbd authn_socache xsendfile
# Link and enable the SE Apache configuration file.
sudo ln -s /standardebooks.org/web/config/apache/standardebooks.test.conf /etc/apache2/sites-available/

View file

@ -14,7 +14,7 @@ RUN sudo usermod -g committers se
RUN mkdir -p /standardebooks.org/web
RUN mkdir /var/log/local
RUN a2enmod headers expires ssl rewrite proxy proxy_fcgi authn_dbd
RUN a2enmod headers expires ssl rewrite proxy proxy_fcgi authn_dbd authn_socache
# Disable opcaching for dynamic PHP reloading
RUN echo "opcache.enable=0" >> /etc/php/7.4/fpm/php.ini