Created
January 11, 2015 07:38
-
-
Save freretuc/fbc8fd611f35296b2c21 to your computer and use it in GitHub Desktop.
apache ssl vhost
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
| <VirtualHost _default_:443> | |
| ServerAdmin [email protected] | |
| ServerName your_domain.com | |
| ServerAlias *.your_domain.com | |
| DocumentRoot /var/www/html | |
| ErrorLog ${APACHE_LOG_DIR}/error.log | |
| CustomLog ${APACHE_LOG_DIR}/access.log combined | |
| SSLEngine on | |
| SSLCertificateFile /etc/apache2/ssl/apache.crt | |
| SSLCertificateKeyFile /etc/apache2/ssl/apache.key | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment