Skip to content

Instantly share code, notes, and snippets.

@AlexisLeon
Created June 5, 2017 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexisLeon/c34c433901af886df77b354b49f811ec to your computer and use it in GitHub Desktop.
Save AlexisLeon/c34c433901af886df77b354b49f811ec to your computer and use it in GitHub Desktop.
<VirtualHost *:443>
ServerName google.com.mx
ServerAdmin webmaster@google.com
DocumentRoot /var/www/html/app/public
<Directory /var/www/html/app>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /var/www/certs/d845d98d7108a33f.crt
SSLCertificateKeyFile /var/www/certs/www.google.com
SSLCertificateChainFile /var/www/certs/gd_bundle-g2-g1.crt
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@google.com
DocumentRoot /var/www/html/app/public
<Directory /var/www/html/app>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment