Skip to content

Commit

Permalink
Add Apache module config to readme/docker
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Jul 11, 2022
1 parent c95d8c4 commit 04b5000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion vms/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b5000

Please sign in to comment.