Skip to content

Instantly share code, notes, and snippets.

@minrwhite
Last active January 30, 2018 17:03
Show Gist options
  • Save minrwhite/49d49ca01f458c4b7e889e694fd5d74c to your computer and use it in GitHub Desktop.
Save minrwhite/49d49ca01f458c4b7e889e694fd5d74c to your computer and use it in GitHub Desktop.
Apache Docker Image

For debugging web filtering with docker

FROM httpd:2.4-alpine
COPY server.crt server.key /usr/local/apache2/conf/
RUN sed -e "s/^#Include conf\/extra\/httpd-ssl.conf$/Include conf\/extra\/httpd-ssl.conf/g;s/^#LoadModule ssl_module modules\/mod_ssl.so$/LoadModule ssl_module modules\/mod_ssl.so/g;s/^#LoadModule socache_shmcb_module modules\/mod_socache_shmcb.so$/LoadModule socache_shmcb_module modules\/mod_socache_shmcb.so/g" -i /usr/local/apache2/conf/httpd.conf
This file has been truncated, but you can view the full file.
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment