Created
November 24, 2008 21:11
-
-
Save deadprogram/28618 to your computer and use it in GitHub Desktop.
This file contains 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
NameVirtualHost *:443 | |
<VirtualHost *:80> | |
ServerName <%= name %> | |
DocumentRoot <%= "/var/www/#{name}/public" %> | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName <%= name %> | |
DocumentRoot <%= "/var/www/#{name}/public" %> | |
ErrorLog <%= "/var/www/#{name}/log/error_log" %> | |
CustomLog <%= "/var/www/#{name}/log/access_log common" %> | |
SSLEngine on | |
SSLOptions +StrictRequire | |
SSLCertificateFile <%= ssl_cert_file %> | |
SSLCertificateKeyFile <%= ssl_private_key_file %> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment