Skip to content

Instantly share code, notes, and snippets.

@daubac402
Last active June 23, 2021 02:25
Show Gist options
  • Save daubac402/4bf5bc11e477952d71d04799ee677c20 to your computer and use it in GitHub Desktop.
Save daubac402/4bf5bc11e477952d71d04799ee677c20 to your computer and use it in GitHub Desktop.
Enable SSI (Server Side Includes) to laradock apache2
1. vim /your_laradock_location/apache2/Dockerfile, add this before "COPY vhost.conf /etc/apache2/sites-enabled/vhost.conf" and ENTRYPOINT line:
RUN a2enmod include
RUN service httpd restart
2. Rebuild apache2 image (at your_laradock_location)
docker-compose build --no-cache apache2
3. docker-compose up -d apache2 mysql phpmyadmin workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment