Created
May 9, 2015 17:06
-
-
Save bran921007/0c2282aa7836ff9e79f8 to your computer and use it in GitHub Desktop.
VirtualHost - SSL en digital Ocean
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 *:443> | |
ServerName sexylip.co | |
DocumentRoot /var/www/linc/public | |
<Directory /var/www/linc/public> | |
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [L] | |
</IfModule> | |
</Directory> | |
SSLEngine on | |
SSLCertificateFile /etc/apache2/ssl/sexylip_co.crt | |
SSLCertificateKeyFile /etc/apache2/ssl/sexylip.co.key | |
SSLCACertificateFile /etc/apache2/ssl/sexylip_co.ca-bundle | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment