Created
October 24, 2018 05:14
-
-
Save ejangi/69d381baeadbf22e35010a3936402d39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM wordpress:4.9.8-php7.1 | |
RUN a2enmod ssl | |
RUN a2ensite default-ssl | |
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj "/C=AU/ST=Queensland/L=Brisbane/O=Example/CN=127.0.0.1/" -keyout /etc/ssl/private/ssl-cert-snakeoil.key -out /etc/ssl/certs/ssl-cert-snakeoil.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment