diff options
Diffstat (limited to 'Apache')
-rw-r--r-- | Apache/virtualhosts/virtualhost-simple.conf | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Apache/virtualhosts/virtualhost-simple.conf b/Apache/virtualhosts/virtualhost-simple.conf index a3ec987..95326ea 100644 --- a/Apache/virtualhosts/virtualhost-simple.conf +++ b/Apache/virtualhosts/virtualhost-simple.conf @@ -2,7 +2,7 @@ # domainname.tld:80 #=============================================================================== <VirtualHost *:80> - DocumentRoot "/var/www/domainname.tld/" + DocumentRoot /var/www/domainname.tld/ ServerName domainname.tld <Directory /var/www/domainname.tld/> @@ -14,17 +14,15 @@ # domainname.tld:443 #=============================================================================== <VirtualHost *:443> - <IfModule mod_ssl.c> - DocumentRoot "/var/www/domainname.tld/" - ServerName domainname.tld + DocumentRoot /var/www/domainname.tld/ + ServerName domainname.tld - SSLEngine on - SSLCertificateFile /var/certificates/domainname.tld/certificate.pem - SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem - SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem + SSLEngine on + SSLCertificateFile /var/certificates/domainname.tld/certificate.pem + SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem + SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem - <Directory /var/www/domainname.tld/> - # Something - </Directory> - </IfModule> + <Directory /var/www/domainname.tld/> + # Something + </Directory> </VirtualHost>
\ No newline at end of file |