File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,9 +8,12 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
88 apt-get autoremove && \
99 apt-get clean && apt-get autoclean
1010
11- # Turn on the mcrypt php module and the rewrite apache module
11+ # Turn on the mcrypt php module and the rewrite\ssl apache modules
1212RUN php5enmod mcrypt && \
13- a2enmod rewrite
13+ a2enmod rewrite && \
14+ a2enmod ssl
15+
16+ # TODO: Proper ssl certs via letsencrypt or something
1417
1518# Configure our path for where we'll serve source-code from
1619WORKDIR /mnt/flamework
Original file line number Diff line number Diff line change 4040 CustomLog ${APACHE_LOG_DIR}/access.log combined
4141
4242 RewriteEngine on
43-
43+
4444 DirectoryIndex index.php
45+
46+ SSLEngine on
47+ SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
48+ SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
4549</VirtualHost>
You can’t perform that action at this time.
0 commit comments